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 pitrou
Recipients brett.cannon, eric.snow, pitrou, rhettinger, vstinner
Date 2011-07-27.22:37:30
SpamBayes Score 0.008373788
Marked as misclassified No
Message-id <1311806160.3616.3.camel@localhost.localdomain>
In-reply-to <1311806212.18.0.306110928703.issue12647@psf.upfronthosting.co.za>
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.

That's what I meant.
History
Date User Action Args
2011-07-27 22:37:30pitrousetrecipients: + pitrou, brett.cannon, rhettinger, vstinner, eric.snow
2011-07-27 22:37:30pitroulinkissue12647 messages
2011-07-27 22:37:30pitroucreate