[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

Paul Moore p.f.moore at gmail.com
Thu May 10 20:50:08 CEST 2007


On 10/05/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> By the way, I have gotten off-list notes of encouragement from a
> number of people who've said they hope the PEP makes it, so evidently
> it's not overwhelming to everyone.  Unfortunately, it seems to be
> suffering a bit from Usenet Nod Syndrome among the people who are in
> favor of it.

I'll add my public +1 here, then.

OTOH, I do find the PEP to be too long and fairly hard to follow - as
an example, the bit in the PEP saying

"""
(to avoid copying the implementation):

    from overloading import RuleSet
    RuleSet(flatten).copy_rules((basestring,), (MyString,))
"""

adds nothing to the point, but adds complexity which I suspect will
simply put people off. OK, it's only 3 lines, but I believe that
removing them will substantially improve the impact of that section,
and lose nothing of importance. I'm sure there's more of the same, as
well.

As I say, though, I am in favour of the idea - don't mistake criticism
of the way it's presented as dislike of the concept!

Paul.


More information about the Python-3000 mailing list