Fix unexpected-AttributeError-when-importing
The repro is: - import a.b, and in a.b do - import a.b as ab This will cause an attribute error, since a.b (the name) is successfully importable, but a.b (the attribute) doesn't exist yet.
Showing
Please register or sign in to comment