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

Guido van Rossum guido at python.org
Mon Oct 8 02:54:10 CEST 2012


On Sun, Oct 7, 2012 at 5:50 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> On Sun, Oct 7, 2012 at 8:42 PM, Chris Angelico <rosuav at gmail.com> wrote:
>> It's much MUCH easier and simpler to defer to somebody else's standard
>> and just say "NaNs behave according to IEEE 754, blame them if you
>> don't like it". There would possibly be value in guaranteeing
>> reflexivity, but it would increase confusion somewhere else.
>
> I agree, but a good thing about standards is that there are plenty to
> choose from.  We can as easily refer to Java as a standard.

Very funny.

Seriously, we can't change our position on this topic now without
making a lot of people seriously unhappy. IEEE 754 it is.

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



More information about the Python-ideas mailing list