[Python-Dev] Rich comparisons [Was] redefining is (original) (raw)
Andrew Koenig ark-mlist at att.net
Fri Mar 19 15:34:49 EST 2004
- Previous message: [Python-Dev] Rich comparisons
- Next message: [Python-Dev] Rich comparisons [Was] redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Rich comparisons
- Next message: [Python-Dev] Rich comparisons [Was] redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]