Brett Cannon 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.
--
New submission from Filipe Laíns :
NamespaceLoader currently does not implement create_module or exec_module,
which is problematic since load_module is deprecated.
The create_module docstring is the same as _LoaderBasics:
```
def create_module(self, spec):
"""Use default semantics for