[Python-3000] pep 3124 plans
Paul Moore
p.f.moore at gmail.com
Thu Jul 19 10:30:35 CEST 2007
On 19/07/07, Guido van Rossum <guido at python.org> wrote:
> The only approach to retroactive generification that I approve of is
> replacing the entire object with a wrapper of sorts, e.g.
>
> foo = generify(foo)
Which (again, just to clarify) means that you would require that
generic functions be introduced by a decorator?
@generic
def foo():
pass
(your explicit equivalent would be for "after the fact" conversion to
a generic).
Paul
More information about the Python-3000
mailing list