Class scope name resolution issue #9991
Labels
bug
mypy got something wrong
good-second-issue
priority-2-low
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
topic-variable-scope
Example courtesy of @gvanrossum , based on https://twitter.com/gvanrossum/status/1354305179244392453
While Python's behaviour is surprising, mypy should match it.
I also found https://bugs.python.org/issue24129 interesting. Thanks, ilevkivskyi!
The text was updated successfully, but these errors were encountered: