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
incorrect renaming in imports #49159
Comments
The fragment try: gets rewritten to try: Unfortunately, that code fails to work: the first import succeeds, Apparently, the fixer choses to replace all occurrences of StringIO with My work-around is to import as _StringIO in both cases, and then refer |
Tricky. I only solution I can think of is replacing cStringIO with |
If there is no straight-forward solution, we should close it as "won't |
Ok. I will close this for now. This is a very common construct; if we |
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: