The import resolution for namespace packages was wrong
With this change we can now include all parents of the script, which will make relative imports always work. Now the whole meta_path is scanned and not just importlib's PathFinder. Fixes #1183.
This commit is contained in:
1 parent
ad5170a37a
commit
4b276bae87
6 files changed
+56
-22
No files matched your search
@@ -0,0 +1 @@
|
||||
name = 1
|
||||
Reference in new issue
Block a user