On 1/1/07, Brett Cannon <[EMAIL PROTECTED]> wrote:
> * new
>     + Just a rebinding of names from the 'types' module.
>     + Can also call ``type`` built-in to get most types easily.

Perhaps 'types' should be deprecated instead?

obj.x = new.instancemethod(...

has a very pleasing ring to it (perhaps too pleasing--"new" feels like
a language construct, not a module name).

Much nicer than

obj.x = types.MethodType(...

-Mike
_______________________________________________
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

Reply via email to