[Python-Dev] PyObject_RichCompareBool identity shortcut (original) (raw)

Guido van Rossum guido at python.org
Thu Apr 28 06:57:22 CEST 2011


On Wed, Apr 27, 2011 at 9:33 PM, Robert Kern <robert.kern at gmail.com> wrote:

[1] Okay, that's a lie. I'm sure that persistent minority would love to have NaN == NaN, because that would make their (ab)use of NaNs easier to work with.

Too bad, because that won't change. :-) I agree that this is abuse of NaNs and shouldn't be encouraged.

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list