[issue4638] 1 is 1 is allways true while 1.0 is 1.0 may sometimes be true
Hatem
report at bugs.python.org
Fri Dec 12 02:54:16 CET 2008
Hatem <hnassrat at gmail.com> added the comment:
Really, "is" is not equality but is object equivalence, wow I did not
know that. So why is the first one true MR. This is truly a bug, why
is the first one optimized while the second one isn't. And how come
integers are allways optimized in that sense. Go close other tickets.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4638>
_______________________________________
More information about the Python-bugs-list
mailing list