[issue11986] Min/max not symmetric in presence of NaN

Raymond Hettinger report at bugs.python.org
Tue May 3 21:21:14 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The report is invalid because min/max make no guarantees about values without a total ordering.

Your other tracker item correctly focused on the behavior of float('NaN') itself, rather than on the behavior of everything else in the Python world that compares two values.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11986>
_______________________________________


More information about the Python-bugs-list mailing list