Issue 16214: 2to3 does not remove exceptions import

Issue16214

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