[issue45592] NamespaceLoader does not implement create_module or exec_module
Brett Cannon
report at bugs.python.org
Mon Oct 25 15:18:19 EDT 2021
Brett Cannon <brett at python.org> added the comment:
create_module() being empty is on purpose: https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.create_module . You only define create_module() if you need a specific type of object for the module instance.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45592>
_______________________________________
More information about the Python-bugs-list
mailing list