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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ZSQXRINHRWPGSZMT43RCT5BBZGYP7P26/ Code of Conduct: http://python.org/psf/codeofconduct/
