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 Crowthebird
Recipients Crowthebird, eric.smith
Date 2021-11-07.03:46:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636256771.09.0.0541652811146.issue45736@roundup.psfhosted.org>
In-reply-to
Content
A correction to the discussion: The PR I made only fixes CONSTANT integer division, not any other. The left and right operands are checked for non-constants and then are checked for integerness (specifically checks for `NOT A FLOAT`s). After both checks have passed, the division operator is turned into a floor division operator.
History
Date User Action Args
2021-11-07 03:46:11Crowthebirdsetrecipients: + Crowthebird, eric.smith
2021-11-07 03:46:11Crowthebirdsetmessageid: <1636256771.09.0.0541652811146.issue45736@roundup.psfhosted.org>
2021-11-07 03:46:11Crowthebirdlinkissue45736 messages
2021-11-07 03:46:11Crowthebirdcreate