[issue39336] Immutable module type can't be used as package in custom loader

Brett Cannon report at bugs.python.org
Tue Jan 14 17:16:53 EST 2020


Brett Cannon <brett at python.org> added the comment:

So I think this is way too marginal a use-case to expand the API to let loaders inject themselves into the semantics of it.

I assume going with option 1 but raising an ImportWarning would be too noisy for your use-case? If not I'm totally fine with that solution.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39336>
_______________________________________


More information about the Python-bugs-list mailing list