We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This python code generates an error. It's a common idiom and it would be good if mypy could check for it in some way.
try: import cPickle as pickle except ImportError: import pickle
$ mypy --py2 --silent-imports bad.py bad.py:4: error: Name 'pickle' already defined
The text was updated successfully, but these errors were encountered:
Thanks -- this looks like a duplicate of #1153. Additional discussion can go there.
Sorry, something went wrong.
No branches or pull requests
This python code generates an error. It's a common idiom and it would be good if mypy could check for it in some way.
The text was updated successfully, but these errors were encountered: