[Python-ideas] change NoneType, NotImplementedType, & ellipses to return the appropriate singleton
Laurens Van Houtven
_ at lvh.cc
Fri Jul 29 19:08:38 CEST 2011
That looks pretty reasonable to me, and, more importantly, would increase
consistency as you point out :)
(I have had a similar issue in the past, where I expected this to work but
it didn't -- so I replaced NoneType with lambda: None.)
cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110729/a57b83b4/attachment.html>
More information about the Python-ideas
mailing list