This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients christian.heimes, gvanrossum, nascheme, noam, rhettinger, tim.peters
Date 2007-12-11.17:57:48
SpamBayes Score 0.16737825
Marked as misclassified No
Message-id <>
In-reply-to <>
> ...
> NaNs in particular are a really
> difficult case because our equality testing routines
> have a fast path where identity implies equality.

Works as intended in 2.5; this is Windows output:

>>> nan = inf - inf
>>> nan  # really is a NaN
>>> nan is nan  # of course this is true
>>> nan == nan  # but not equal anyway
Date User Action Args
2007-12-11 17:57:48tim.peterssetspambayes_score: 0.167378 -> 0.16737825
recipients: + tim.peters, gvanrossum, nascheme, rhettinger, christian.heimes, noam
2007-12-11 17:57:48tim.peterslinkissue1580 messages
2007-12-11 17:57:48tim.peterscreate