[Python-ideas] Equality of same NaN instances?

Guido van Rossum guido at python.org
Thu Apr 28 17:44:08 CEST 2011


On Thu, Apr 28, 2011 at 1:08 AM, Carl M. Johnson
<cmjohnson.mailinglist at gmail.com> wrote:
> This has been discussed before. See
> http://mail.python.org/pipermail/python-ideas/2010-March/thread.html#6945
> etc. for background on the issue.
>
> My two cents? Follow what C does/the IEEE spec unless there's a really
> compelling reason to do something else.

Ah, the compelling difference is that the IEEE spec only talks about
values, whereas Python also has to have an opinion about object.

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



More information about the Python-ideas mailing list