Georg Brandl <[email protected]> added the comment:

It must be by design -- someone has implemented a __bool__ (formerly 
__nonzero__) method; otherwise all objects would be true.

----------
nosy: +georg.brandl, lemburg

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13936>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to