[Python-Dev] PyObject_RichCompareBool identity shortcut

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Apr 29 01:57:40 CEST 2011


On Thu, Apr 28, 2011 at 7:47 PM, Guido van Rossum <guido at python.org> wrote:
> On Thu, Apr 28, 2011 at 4:40 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> Pondering the NaN problem further, I think we can relatively easily
>> argue that reflexive behaviour at the object level fits within the
>> scope of IEEE754.
>
> Now we're talking. :-)
>

Note that Kahan is very critical of Java's approach, but NaN objects'
comparison is not on his list of Java warts:

http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf


More information about the Python-Dev mailing list