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
Date 2021-11-06.14:34:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636209267.03.0.442964807446.issue45736@roundup.psfhosted.org>
In-reply-to
Content
When 2to3 supports integer division fixing, there would be this behaviour:

- x = 2 ** 8 / 5 / 7
+ x = 2 ** 8 // 5 // 7

Basically convert any integer division to floor division. The PR I made only works for constant integers, and any improvement would be appreciated.
History
Date User Action Args
2021-11-06 14:34:27Crowthebirdsetrecipients: + Crowthebird
2021-11-06 14:34:27Crowthebirdsetmessageid: <1636209267.03.0.442964807446.issue45736@roundup.psfhosted.org>
2021-11-06 14:34:27Crowthebirdlinkissue45736 messages
2021-11-06 14:34:26Crowthebirdcreate