26.08.21 12:05, Marc-Andre Lemburg пише:
> Oh, good point. I was under the impression that NAN is handled
> as a singleton.
> 
> Perhaps this should be changed to make to make it easier to
> detect NANs ?!

Even ignoring a NaN payload, there are many different NaNs of different
types. For example, Decimal('nan') cannot be the same as float('nan').

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/CHPMSEL4ILGNCXD6QF6N4E7SFXKXLYJO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to