Ethan Furman added the comment:

False and True are subtypes of int, so the behaviour you are seeing is known 
and expected.

https://docs.python.org/2/reference/datamodel.html?highlight=bool

In the future feel free to ask on Python-List about behaviour -- you'll be sure 
to get a plethora of answers.

----------
nosy: +ethan.furman
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to