mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Introduce importlib.util.ModuleManager which is a context manager to
handle providing (and cleaning up if needed) the module to be loaded. A future commit will use the context manager in Lib/importlib/_bootstrap.py and thus why the code is placed there instead of in Lib/importlib/util.py.
This commit is contained in:
parent
4dbae88131
commit
a3687f0d68
6 changed files with 3508 additions and 3341 deletions
6744
Python/importlib.h
6744
Python/importlib.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue