[Python-3000] PEP 3108: Standard Library Reorganization
Brett Cannon
brett at python.org
Tue Jan 2 04:46:01 CET 2007
On 1/1/07, Mike Klaas <mike.klaas at gmail.com> wrote:
>> On 1/1/07, Brett Cannon <brett at python.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070101/c413e8b0/attachment.htm
More information about the Python-3000
mailing list