[Python-ideas] checking for identity before comparing built-in objects

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Oct 8 04:48:53 CEST 2012


On Sun, Oct 7, 2012 at 10:33 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> In case of nan != nan, I would really like to know a modern reason why
> Python's way is better.

To this end, a link to Kahan's "How Java’s Floating-Point Hurts
Everyone Everywhere" <http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf>
may be appropriate.



More information about the Python-ideas mailing list