[issue2417] [py3k] Integer floor division (//): small int check omitted
Alexander Belopolsky
report at bugs.python.org
Wed Mar 19 16:49:49 CET 2008
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
>>> int('1') is 1
False
>>> 1 is int('0b1', 2)
False
>>> 1 is 0b10000 >> 4
False
there are probably more ...
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2417>
__________________________________
More information about the Python-bugs-list
mailing list