This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FFY00
Recipients FFY00, brett.cannon, eric.snow, ncoghlan
Date 2021-10-23.21:36:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635024996.39.0.539683336304.issue45592@roundup.psfhosted.org>
In-reply-to
Content
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 module creation."""
```

Is it intended to be empty, or is NamespaceLoader unfinished?

If this is intended, how should we create the module instead? If there is other part of the code dealing this, via a fallback in case the loader does not implement this method, wouldn't it make sense to put that in in the loader itself for standalone use?
History
Date User Action Args
2021-10-23 21:36:36FFY00setrecipients: + FFY00, brett.cannon, ncoghlan, eric.snow
2021-10-23 21:36:36FFY00setmessageid: <1635024996.39.0.539683336304.issue45592@roundup.psfhosted.org>
2021-10-23 21:36:36FFY00linkissue45592 messages
2021-10-23 21:36:36FFY00create