New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'exceptions' import fixer #46603
Comments
Importing 'exceptions' should raise at least a Py3K warning, if not a |
I ran python through a debugger and found that the exceptions module is |
I'm not sure how we could implement a warning on import of exceptions |
On Sun, Aug 24, 2008 at 2:51 PM, Benjamin Peterson
... and would also have to change all references. But that would |
Here's my 2to3 fixer for the job. It cleanly removes the imports and |
Given that this is now a request for a fixer, and not a request for a |
Brett: Why did you close the issue? Benjamin's change was never committed... |
I don't remember. |
I've converted Benjamin's patch to extended diff format, fixed some |
This is something people can easily convert in there 2.x code, so I don't think the need for it is great. |
Updating the versions, though it seems that you may want to close this as rejected based on the discussion. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: