[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

Nick Coghlan report at bugs.python.org
Tue Nov 12 00:59:59 CET 2013


Nick Coghlan added the comment:

And coming full circle: there's no *harm* in letting finders reject loading
into a target module, and that's orthogonal to having loaders reject it.
It's just that loaders that want to do that will currently still need to
implement load_module.

That means the only thing we need to postpone is the load_module
deprecation, since it still covers at least one advanced use case the new
API doesn't handle.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18864>
_______________________________________


More information about the Python-bugs-list mailing list