[issue47031] math.nan should note that NANs do not compare equal to anything
Serhiy Storchaka
report at bugs.python.org
Sat Mar 19 05:22:00 EDT 2022
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
We cannot guarantee that NAN never equal to anything, because we can create an object equal to it. For example mock.ANY.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47031>
_______________________________________
More information about the Python-bugs-list
mailing list