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 mark.dickinson
Recipients lemburg, mark.dickinson, rhettinger, shlomif2, stutzbach
Date 2020-08-05.11:21:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596626491.19.0.117436802239.issue41487@roundup.psfhosted.org>
In-reply-to
Content
I'd be opposed to changing Python's `int` implementation in this way: it adds complication to the codebase and potentially also slows down "normal" cases. If a user knows in advance (a) that they're using a divisor that's highly divisble by 2, and (b) that the division or modulo operation is performance critical, then they can take the appropriate steps to optimize their code.
History
Date User Action Args
2020-08-05 11:21:31mark.dickinsonsetrecipients: + mark.dickinson, lemburg, rhettinger, stutzbach, shlomif2
2020-08-05 11:21:31mark.dickinsonsetmessageid: <1596626491.19.0.117436802239.issue41487@roundup.psfhosted.org>
2020-08-05 11:21:31mark.dickinsonlinkissue41487 messages
2020-08-05 11:21:31mark.dickinsoncreate