[issue28922] Add fixer for "import exceptions"

ProgVal report at bugs.python.org
Fri Dec 9 11:11:44 EST 2016


New submission from ProgVal:

Hi,

Here is a fixer to remove "import exceptions" from Python 2 code and replace "exceptions.X" with "X".

Valentin

----------
components: 2to3 (2.x to 3.x conversion tool)
files: fix_import_exceptions.py
messages: 282787
nosy: Valentin.Lorentz
priority: normal
severity: normal
status: open
title: Add fixer for "import exceptions"
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45817/fix_import_exceptions.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28922>
_______________________________________


More information about the Python-bugs-list mailing list