This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients JelleZijlstra, docs@python, eric.smith, w0rthle$$
Date 2022-03-15.01:21:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647307311.37.0.872001714055.issue47020@roundup.psfhosted.org>
In-reply-to
Content
Jelle gives the correct reason for what you're seeing.

Also note:

>>> math.nan == math.nan
False
>>> float('nan') == float('nan')
False

If there's some specific part of the documentation that you think is misleading, please reopen this and point us to the wording that's confusing.
History
Date User Action Args
2022-03-15 01:21:51eric.smithsetrecipients: + eric.smith, docs@python, JelleZijlstra, w0rthle$$
2022-03-15 01:21:51eric.smithsetmessageid: <1647307311.37.0.872001714055.issue47020@roundup.psfhosted.org>
2022-03-15 01:21:51eric.smithlinkissue47020 messages
2022-03-15 01:21:51eric.smithcreate