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
The following:
# File bug.py try: import simplejson as json except (ImportError, SyntaxError): import json
results in:
mypy.py:4: error: Name 'json' already defined (by an import) Found 1 error in 1 file (checked 1 source file)
under mypy 0.8 in Ubuntu18.04 with python 3.7.4. (mypy bug.py)
mypy bug.py
The text was updated successfully, but these errors were encountered:
FTR this is reproducible using mypy==0.961.
Sorry, something went wrong.
Hmm, maybe this is a duplicate of much older #1153.
Yes, that's basically the same thing.
No branches or pull requests
The following:
results in:
under mypy 0.8 in Ubuntu18.04 with python 3.7.4. (
mypy bug.py
)The text was updated successfully, but these errors were encountered: