On Thu, Aug 26, 2021, 6:46 AM Marc-Andre Lemburg > Fair enough. Would it then make sense to at least have all possible NAN > objects compare equal, treating the extra error information as an attribute > value rather than a distinct value and perhaps exposing this as such ? >
No, no, no! Almost the entire point of a NaN is that it doesn't compare as equal to anything... Not even to itself!
_______________________________________________ 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/ZSQXRINHRWPGSZMT43RCT5BBZGYP7P26/ Code of Conduct: http://python.org/psf/codeofconduct/