Issue 28922: Add fixer for "import exceptions" (original) (raw)
Created on 2016-12-09 16:11 by Valentin.Lorentz, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files |
|
|
|
File name |
Uploaded |
Description |
Edit |
fix_import_exceptions.py |
Valentin.Lorentz,2016-12-09 16:11 |
Fixer for "import exceptions" |
|
Messages (2) |
|
|
msg282787 - (view) |
Author: ProgVal (Valentin.Lorentz) |
Date: 2016-12-09 16:11 |
Hi, Here is a fixer to remove "import exceptions" from Python 2 code and replace "exceptions.X" with "X". Valentin |
|
|
msg282799 - (view) |
Author: Berker Peksag (berker.peksag) *  |
Date: 2016-12-09 19:29 |
Thanks for the report and for the patch! This is a duplicate of issue 2350. Note that we accept patches from hg.python.org, not standalone Python files. See http://cpython-devguide.readthedocs.io/en/latest/patch.html for details. |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:58:40 |
admin |
set |
github: 73108 |
2016-12-09 19:29:58 |
berker.peksag |
set |
status: open -> closedsuperseder: 'exceptions' import fixernosy: + berker.peksagmessages: + resolution: duplicatestage: resolved |
2016-12-09 16:11:44 |
Valentin.Lorentz |
create |
|