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 tim.peters
Recipients Marco Sulla, eric.smith, steven.daprano, tim.peters, zach.ware
Date 2020-02-29.19:48:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583005694.44.0.189292873979.issue39788@roundup.psfhosted.org>
In-reply-to
Content
Ya, this change will never be made - give up gracefully :-)

1e100 and 10**100 aren't just of different types, they have different mathematical _values_ now:

>>> 1e100 == 10**100
False
>>> int(1e100)
10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104

Of course this has visible consequences, like:

>>> 1e100 % 1000
104.0
>>> int(1e100) % 1000
104
>>> 10**100 % 1000
0
History
Date User Action Args
2020-02-29 19:48:14tim.peterssetrecipients: + tim.peters, eric.smith, steven.daprano, zach.ware, Marco Sulla
2020-02-29 19:48:14tim.peterssetmessageid: <1583005694.44.0.189292873979.issue39788@roundup.psfhosted.org>
2020-02-29 19:48:14tim.peterslinkissue39788 messages
2020-02-29 19:48:14tim.peterscreate