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.11:50:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636199426.55.0.893331092894.issue45736@roundup.psfhosted.org>
In-reply-to
Content
Right now, 2to3 does not support integer division fixing. Supposing `test.py` is a file with these contents:
x = 2 ** 8 / 5 / 7

Here's an example:
C:\Users\admin> py -m lib2to3 test.py
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No files need to be modified.
History
Date User Action Args
2021-11-06 11:50:26Crowthebirdsetrecipients: + Crowthebird
2021-11-06 11:50:26Crowthebirdsetmessageid: <1636199426.55.0.893331092894.issue45736@roundup.psfhosted.org>
2021-11-06 11:50:26Crowthebirdlinkissue45736 messages
2021-11-06 11:50:26Crowthebirdcreate