[issue36095] Better NaN sorting.
Tim Peters
report at bugs.python.org
Sun Dec 15 15:20:51 EST 2019
Tim Peters <tim at python.org> added the comment:
Closing as Mark suggested, but as "not a bug" rather than "won't fix". That floats aren't totally ordered is a consequence of IEEE 754 semantics, not Python's whim. As Mark said, if people want a total_ordering function for floats, that should be opened as a different issue - we're not going to change the default float comparison logic.
----------
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
versions: +Python 2.7 -Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36095>
_______________________________________
More information about the Python-bugs-list
mailing list