mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Implement the more specific PEP 302 semantics for loaders and what happens upon
load failure in relation to reloads. Also expose importlib.util.module_for_loader to handle all of the details of this along with making sure all current loaders behave nicely.
This commit is contained in:
parent
0586ed6288
commit
d2e7b33815
5 changed files with 159 additions and 62 deletions
2
Lib/importlib/util.py
Normal file
2
Lib/importlib/util.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
"""Utility code for constructing importers, etc."""
|
||||
from ._bootstrap import module_for_loader
|
Loading…
Add table
Add a link
Reference in a new issue