[Python-3000] pep 3124 plans
Guido van Rossum
guido at python.org
Thu Jul 19 16:07:09 CEST 2007
On 7/19/07, Paul Moore <p.f.moore at gmail.com> wrote:
> 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).
Yes.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list