[issue11949] Make float('nan') unorderable
Raymond Hettinger
report at bugs.python.org
Sat May 14 21:08:21 CEST 2011
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
> On the issue itself, I'm -1 on making comparisons
> with float('nan') raise: I don't see that there's
> a real problem here that needs solving.
>
> Note that the current behaviour does *not* violate IEEE 754, ...
I agree with Mark. Am closing this feature request which is both ill-conceived and likely to cause more harm than good (possibly breaking code that currently does not fail).
> the discussion about cleaning up test_math
> (which I agree would be a good thing to do)
> should probably go into another issue.
I agree.
----------
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11949>
_______________________________________
More information about the Python-bugs-list
mailing list