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 serhiy.storchaka
Recipients barry, bru, eli.bendersky, ethan.furman, pitrou, serhiy.storchaka
Date 2015-04-04.17:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428168685.47.0.96774268335.issue23640@psf.upfronthosting.co.za>
In-reply-to
Content
This bug allows to create new bool instances.

>>> false = bool.from_bytes(b'\0', 'big')
>>> true = bool.from_bytes(b'\1', 'big')
>>> bool(false)
False
>>> bool(true)
True
>>> false is False
False
>>> true is True
False
>>> false
False
>>> true
False
History
Date User Action Args
2015-04-04 17:31:25serhiy.storchakasetrecipients: + serhiy.storchaka, barry, pitrou, eli.bendersky, ethan.furman, bru
2015-04-04 17:31:25serhiy.storchakasetmessageid: <1428168685.47.0.96774268335.issue23640@psf.upfronthosting.co.za>
2015-04-04 17:31:25serhiy.storchakalinkissue23640 messages
2015-04-04 17:31:25serhiy.storchakacreate