This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, eric.snow, pitrou, rhettinger, vstinner
Date 2011-07-27.22:36:51
SpamBayes Score 0.003539851
Marked as misclassified No
Message-id <1311806212.18.0.306110928703.issue12647@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm not sure why the special case shouldn't be retained.

We can keep the fast path in PyObject_IsTrue but add a __bool__ method to NoneType.
History
Date User Action Args
2011-07-27 22:36:52vstinnersetrecipients: + vstinner, brett.cannon, rhettinger, pitrou, eric.snow
2011-07-27 22:36:52vstinnersetmessageid: <1311806212.18.0.306110928703.issue12647@psf.upfronthosting.co.za>
2011-07-27 22:36:51vstinnerlinkissue12647 messages
2011-07-27 22:36:51vstinnercreate