Cajetan Rodrigues <caje...@gmail.com> added the comment:
Turns out using _PKG_DIRECTORY as a type for namespace packages ended up making `_find_module` try to search for an __init__.py within them, since it had no understanding of the diff. between a namespace package and a regular one (the lack of __init__.py), and caused it to break. I've raised a PR with a new type _NSP_DIRECTORY for namespace-directories. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40350> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com