commit | a3687f0d6896673689d8dd5c13e113947f66e921 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Tue May 28 17:29:34 2013 -0400 |
committer | Brett Cannon <brett@python.org> | Tue May 28 17:29:34 2013 -0400 |
tree | 6d14bef5ece4b63451cdf2ca59a81fd2cca5de58 | |
parent | 4dbae881311073eedd6ef290ec206978f530ef98 [diff] |
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.