On 7/19/07, Paul Moore <[EMAIL PROTECTED]> wrote:
> 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).

Yes.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to