[Python-3000] pep 3124 plans (original) (raw)
Paul Moore p.f.moore at gmail.com
Thu Jul 19 10:30:35 CEST 2007
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] pep 3124 plans
- Next message: [Python-3000] pep 3124 plans
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]