You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Module has no attribute" error with import cycle #2016
A potential fix would be to flag the import in part4 as low priority, resulting in a more consistently correct order of processing of the cycle (see #2015 for a discussion of this).
Another, likely less nice fix would be to run the semantic analysis pass that resolves from ... import ... statements within a cycle multiple times somehow, until all imports have been resolved.
Activity
elazarg commentedon Sep 25, 2016
I can reproduce this, but not in
check-modules.test. Do you know why is that?gvanrossum commentedon Oct 17, 2016
This will be fixed by #2167.
gvanrossum commentedon Nov 1, 2016
Fixed by #2167