On 19/07/07, Guido van Rossum <[EMAIL PROTECTED]> 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
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com