[Python-Dev] Rich comparisons [Was] redefining is (original) (raw)

Andrew Koenig ark-mlist at att.net
Fri Mar 19 15:34:49 EST 2004


The test suite runs fine, but it is possible that some existing class defines equality in a way that sometimes returns False even when given two identical objects.

I believe that IEEE floating-point requires x == x to be False when x is NaN.



More information about the Python-Dev mailing list