fix(import): support for nested namespace packages

If multiple directories in sys.path provide a nested namespace
package, then jedi would only visit the first directory which
contained the package.  Fix this by saving the remaining path list in
the ImplicitNamespaceValue and add a test for it.
This commit is contained in:
Kirat Singh
2021-10-02 04:09:27 +00:00
parent 65bc1c117b
commit 53e837055f
4 changed files with 22 additions and 4 deletions

View File

@@ -0,0 +1 @@
mod2_name = 'mod2'