[issue47031] math.nan should note that NANs do not compare equal to anything

Stanley report at bugs.python.org
Fri Mar 25 00:10:28 EDT 2022


Stanley <ostanley.lee at gmail.com> added the comment:

Then perhaps saying that it's *never* equal is too strong, and instead we just say it's *not* equal. Not too sure how to phrase the behavior difference between `==` and `is` though, if that's something that should be noted.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47031>
_______________________________________


More information about the Python-bugs-list mailing list