We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dict
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
A file with just
x = dict(undefined_variable)
succeeds, when it should give a Name 'undefined_variable' is not defined error. Without the dict constructor, the error is generated correctly.
Name 'undefined_variable' is not defined
The text was updated successfully, but these errors were encountered:
And here's why: https://github.com/python/mypy/blob/master/mypy/semanal.py#L1813
Sorry, something went wrong.
When positional args passed to dict(), analyze them. Fix #1357.
41e1349
Decided to fix this, in case it had a bearing on the more complex issue we were investigating yesterday (though I think it doesn't, actually).
d91f084
1423a54
gvanrossum
No branches or pull requests
A file with just
succeeds, when it should give a
Name 'undefined_variable' is not defined
error. Without thedict
constructor, the error is generated correctly.The text was updated successfully, but these errors were encountered: