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.
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) * (Python committer) | 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 -> closed superseder: 'exceptions' import fixer nosy: + berker.peksag messages: + msg282799 resolution: duplicate stage: resolved |
| 2016年12月09日 16:11:44 | Valentin.Lorentz | create | |