[Python-Dev] Why is nan != nan?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 26 05:32:46 CET 2010


Steven D'Aprano wrote:

> By analogy: the Lizard King of Russia does not exist; the Vampire Queen 
> of New Orleans also does not exist. We don't therefore conclude that 
> the Lizard King and the Vampire Queen are therefore the same person.

But it's equally invalid to say that they're *not* the
same person, because it's meaningless to say *anything*
about the properties of nonexistent people.

-- 
Greg


More information about the Python-Dev mailing list