x = x or y
with x undeclared gives no error
#937
Labels
bug
mypy got something wrong
priority-1-normal
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
topic-variable-scope
I think it should, because python considers such recursive definitions to be an error.
The text was updated successfully, but these errors were encountered: