ipython / ipython/ipykernel

import completion is unaware of pep 420 namespace packages.

Offen
#312 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
734
Forks
412
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
8

Beschreibung

When attempting to import a pep 420 namespace package, tab completion is not presenting the namespace packages.

Interestingly, after the namespace package is included in the line tab completion resumes working.

```
In [1]: import parent\t
```

Nothing...

```
In [2]: import parent_ns.pkg_\t
pkg_c
pkg_d
```
Here we got pkg_c and pkg_d options.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.