NameError: name '__path__' is not defined with import-mode=importlib #10332
Labels
topic: collection
related to the collection phase
type: enhancement
new feature or API change, should be merged into features branch
Discovered in jaraco/backports.entry_points_selectable#7, when one uses
import-mode=importlib
on a pkgutil-style namespace package, the collection fails (or sometimes the tests fail).These backports packages are by necessity not PEP 420 (because many of them must support Python 2.7).
Is there any intention to support pkgutil-style namespace packages with
import-mode=importlib
?The text was updated successfully, but these errors were encountered: