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 does not remove exceptions import
Type: Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: 'exceptions' import fixer
View: 2350
Assigned To: Nosy List: cjmayo
Priority: normal Keywords:

Created on 2012-10-12 18:44 by cjmayo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg172770 - (view) Author: Chris Mayo (cjmayo) Date: 2012-10-12 18:44
Create file a.py:
#!/usr/bin/python
import exceptions

and run:
2to3 a.py
...
RefactoringTool: No files need to be modified.

Issue 2350 is marked as closed but this is still present for me in 2to3 of Python 2.7, 3.2 and 3.3.
History
Date User Action Args
2022-04-11 14:57:37adminsetgithub: 60418
2012-10-15 13:04:20brett.cannonsetstatus: open -> closed
superseder: 'exceptions' import fixer
resolution: duplicate
2012-10-12 18:44:50cjmayocreate