On 1/1/07, Mike Klaas <[EMAIL PROTECTED]> wrote:

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(...


Well the 'types' module does do a little bit more than just give fancy name
to stuff.  And the feeling of 'new' as a construct only occurs if you come
from certain other languages.  We could just ditch both, but I don't know if
people want to go that far.

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