Antoine Pitrou <pit...@free.fr> added the comment:

> > 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12647>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to