Kevin Keating <kevkeat...@gmail.com> added the comment:
One possible solution here would be to update the documentation at https://github.com/python/cpython/blob/master/Doc/library/importlib.rst#implementing-lazy-imports to either note the limitation or to modify the lazy_import function so that it adds the module to the package's namespace. That's basically the workaround that we've been using. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42273> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com