[Python-ideas] checking for identity before comparing built-in objects

Mathias Panzenböck grosser.meister.morti at gmx.net
Thu Oct 4 16:02:29 CEST 2012


On 10/04/2012 03:53 PM, Steven D'Aprano wrote:
> py> NAN == NAN
> False

Why isn't this True anyway? Is there a PEP that explains this (IMHO odd) behavior?



More information about the Python-ideas mailing list