[issue4296] Python assumes identity implies equivalence; contradicts NaN
Mark Dickinson
report at bugs.python.org
Tue Nov 11 22:34:26 CET 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
Here's a patch incorporating Christian's tests, the missing lines from
PyObject_RichCompareBool, and some additional tests to check that
[x] == [x] and the like remain True even when x is a NaN. Oh, and a
Misc/NEWS entry.
With this patch, all tests pass (debug and non-debug 32-bit builds) on OS
X 10.5/Intel.
I think we should get the okay from Guido before committing this. Maybe
he remembers why he deleted these lines in the first place. :-)
----------
assignee: -> gvanrossum
Added file: http://bugs.python.org/file11989/issue4296.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4296>
_______________________________________
More information about the Python-bugs-list
mailing list