[Python-ideas] change NoneType, NotImplementedType, & ellipses to return the appropriate singleton

Ben Finney ben+python at benfinney.id.au
Sat Jul 30 04:04:20 CEST 2011


Ethan Furman <ethan at stoneleaf.us> writes:

> Raymond Hettinger wrote:
> > On Jul 29, 2011, at 4:41 PM, Terry Reedy wrote:
> >> On 7/29/2011 12:37 PM, Ethan Furman wrote:
> >>> Is there any reason why we shouldn't change these three to produce
> >>> the singleton instance instead of raising an error?

> >> You have all the approvals you need (congrats), so file a feature
> >> request […]

> > Too slow :-) Benjamin already implemented it and checked it in 20
> > minutes before your post.
>
> Awesome.  :)

Congratulations, and thanks for taking this through the right channels.

-- 
 \        “It is undesirable to believe a proposition when there is no |
  `\   ground whatever for supposing it true.” —Bertrand Russell, _The |
_o__)                                       Value of Scepticism_, 1928 |
Ben Finney




More information about the Python-ideas mailing list