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.

classification
Title: 2to3 should have a way to disable some fixers
Type: enhancement Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: collinwinter Nosy List: benjamin.peterson, bhy, collinwinter, gpolo
Priority: normal Keywords: patch

Created on 2008-05-24 10:28 by bhy, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fixer_skip.diff gpolo, 2008-05-24 11:32
fixer_skip2.diff gpolo, 2008-05-24 11:32
Messages (3)
msg67289 - (view) Author: Haoyu Bai (bhy) Date: 2008-05-24 10:28
Sometime we need to enable all fixers but one or two, eg. the 'import'
fixer. So it would be fine if there's a way to do that.
msg67292 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-05-24 11:32
Once I wanted this too. I'm attaching two patches but I prefer the
former which allows the skipped fixer(s) to be logged.
msg74697 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-10-13 21:30
Done in r66885.
History
Date User Action Args
2022-04-11 14:56:34adminsetgithub: 47205
2008-10-13 21:30:40benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: accepted
messages: + msg74697
2008-05-24 11:32:51gpolosetfiles: + fixer_skip2.diff
2008-05-24 11:32:36gpolosetfiles: + fixer_skip.diff
nosy: + gpolo
messages: + msg67292
keywords: + patch
2008-05-24 10:28:45bhycreate