Re: [Python-Dev] cpython: make the types of None and Ellipsis callable
2011/7/29 Georg Brandl g.bra...@gmx.net: Am 30.07.2011 01:20, schrieb benjamin.peterson: http://hg.python.org/cpython/rev/84c3be27b4c7 changeset: 71614:84c3be27b4c7 parent: 71611:a6afd26caa8a user: Benjamin Peterson benja...@python.org date: Fri Jul 29 18:19:43 2011 -0500 summary: make the types of None and Ellipsis callable files: Lib/test/test_builtin.py | 7 + Misc/NEWS | 3 ++ Objects/object.c | 34 Objects/sliceobject.c | 29 +++ 4 files changed, 73 insertions(+), 0 deletions(-) Shouldn't there be a matching Doc change somewhere? Somewhere is the question! -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython: make the types of None and Ellipsis callable
On Sun, Jul 31, 2011 at 12:12 AM, Benjamin Peterson benja...@python.org wrote: 2011/7/29 Georg Brandl g.bra...@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 | ncogh...@gmail.com | Brisbane, Australia ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython: make the types of None and Ellipsis callable
On Sun, Jul 31, 2011 at 1:30 AM, Nick Coghlan ncogh...@gmail.com wrote: And on that note... was there any particular reason for leaving NotImplemented out for this change? Never mind, just noticed the subsequest checkin. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] cpython: make the types of None and Ellipsis callable
Am 30.07.2011 01:20, schrieb benjamin.peterson: http://hg.python.org/cpython/rev/84c3be27b4c7 changeset: 71614:84c3be27b4c7 parent: 71611:a6afd26caa8a user:Benjamin Peterson benja...@python.org date:Fri Jul 29 18:19:43 2011 -0500 summary: make the types of None and Ellipsis callable files: Lib/test/test_builtin.py | 7 + Misc/NEWS| 3 ++ Objects/object.c | 34 Objects/sliceobject.c| 29 +++ 4 files changed, 73 insertions(+), 0 deletions(-) Shouldn't there be a matching Doc change somewhere? Georg ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com