[Python-Dev] cpython: make the types of None and Ellipsis callable
Nick Coghlan
ncoghlan at gmail.com
Sat Jul 30 17:30:41 CEST 2011
On Sun, Jul 31, 2011 at 12:12 AM, Benjamin Peterson <benjamin at python.org> wrote:
> 2011/7/29 Georg Brandl <g.brandl at gmx.net>:
>> Shouldn't there be a matching Doc change somewhere?
>
> Somewhere is the question!
While None/NotImplemented/Ellipsis are all documented as singletons,
the behaviour of calling their types is not specified anywhere. If
this was to be detailed anywhere, then the sections on
None/NotImplemented/Ellipsis in section 3.2 of the language reference
would be the place.
And on that note... was there any particular reason for leaving
NotImplemented out for this change?
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list