[issue4296] Python assumes identity implies equivalence; contradicts NaN

2008-11-11 Thread Michael B Curtis
Michael B Curtis <[EMAIL PROTECTED]> added the comment: All, Thank you for your rigorous analysis of this bug. To answer the question of the impact of this bug: the real issue that caused problems for our application was Python deciding to silently cast NaN falues to 0L, as discusse

[issue4296] Python assumes identity implies equivalence; contradicts NaN

2008-11-10 Thread Michael B Curtis
New submission from Michael B Curtis <[EMAIL PROTECTED]>: Found in Python 2.4; not sure what other versions may be affected. I noticed a contradiction with regards to equivalence when experimenting with NaN, which has the special property that it "is" itself, but it doesn'