diff Python/codecs.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 3a86a3f1d89a
children 4975bcd67aa7
line wrap: on
line diff