➜

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
标题: 2to3 does not remove exceptions import
类型: Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.2, Python 3.3, Python 2.7
process
状态: closed Resolution: duplicate
Dependencies: 后续: 'exceptions' import fixer
View: 2350
分配给: 抄送列表: cjmayo
优先级: normal 关键字:

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) 日期: 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.
历史
日期 用户 动作 参数
2022-04-11 14:57:37admin修改github: 60418
2012-10-15 13:04:20brett.cannon修改状态: open -> closed
后续: 'exceptions' import fixer
resolution: duplicate
2012-10-12 18:44:50cjmayo创建