Author tim.peters
Recipients christian.heimes, gvanrossum, nascheme, noam, rhettinger, tim.peters
Date 2007-12-11.17:57:48
SpamBayes Score 0.167378
Marked as misclassified No
Message-id <1f7befae0712110957q2369b7efoda0e46d288145760@mail.gmail.com>
In-reply-to <1197395464.92.0.796092631261.issue1580@psf.upfronthosting.co.za>
Content
[Raymond]
> ...
> 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:

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