[Python-3000] pep 3124 plans (original) (raw)
Guido van Rossum guido at python.org
Thu Jul 19 16:07:09 CEST 2007
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]