]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Introduce importlib.util.ModuleManager which is a context manager to
authorBrett Cannon <brett@python.org>
Tue, 28 May 2013 21:29:34 +0000 (17:29 -0400)
committerBrett Cannon <brett@python.org>
Tue, 28 May 2013 21:29:34 +0000 (17:29 -0400)
commita3687f0d6896673689d8dd5c13e113947f66e921
tree6d14bef5ece4b63451cdf2ca59a81fd2cca5de58
parent4dbae881311073eedd6ef290ec206978f530ef98
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.
Doc/library/importlib.rst
Lib/importlib/_bootstrap.py
Lib/importlib/util.py
Lib/test/test_importlib/test_util.py
Misc/NEWS
Python/importlib.h