Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 83960:3a1976680717
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.
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Tue, 28 May 2013 17:29:34 -0400 |
| parents | f0833e6ff2d2 |
| children | 213d6d7f5979 |
