-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
featurepriority-2-lowtopic-runtime-semanticsmypy doesn't model runtime semantics correctlymypy doesn't model runtime semantics correctly
Description
If a.py
contains
import b
name = 'a'
print(b.name)
and b.py
contains
import a
name = 'b'
print(a.name)
then mypy compiles a.py
without error, but the generated python throws an error because of the circular import.
(Found this one while refactoring mypy itself into packages)
KotlinIsland, DetachHead and GideonBear
Metadata
Metadata
Assignees
Labels
featurepriority-2-lowtopic-runtime-semanticsmypy doesn't model runtime semantics correctlymypy doesn't model runtime semantics correctly