[issue4638] 1 is 1 is allways true while 1.0 is 1.0 may sometimes be true
report at bugs.python.org
Fri Dec 12 02:58:25 CET 2008
Hatem <hnassrat at gmail.com> added the comment:
Atleast you didnt really challenge my inelegence like greg did. If you
look at my small interpreted session, is returned true the first time.
Why is that. The ticket title may not have been perfect, I was trying
to be sarcastic/funny.
I am asking why are objects sometime the same instance while sometimes
aren't for floats.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list