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