]> granicus.if.org Git - python/commit
Issue #20383: Introduce importlib.util.module_from_spec().
authorBrett Cannon <brett@python.org>
Fri, 30 May 2014 18:55:29 +0000 (14:55 -0400)
committerBrett Cannon <brett@python.org>
Fri, 30 May 2014 18:55:29 +0000 (14:55 -0400)
commit2a17bde930af72995a217f6625d763e828bf5ce1
treee36ddef450d49c50b324d5e2741161f9ea22188c
parentc8f0d6ebfc8e114d72c9e642ed33ebb93276427d
Issue #20383: Introduce importlib.util.module_from_spec().

Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
17 files changed:
Doc/library/importlib.rst
Doc/library/types.rst
Doc/whatsnew/3.5.rst
Lib/imp.py
Lib/importlib/__init__.py
Lib/importlib/_bootstrap.py
Lib/importlib/abc.py
Lib/importlib/util.py
Lib/pkgutil.py
Lib/pydoc.py
Lib/runpy.py
Lib/test/test_importlib/test_spec.py
Lib/test/test_importlib/test_util.py
Lib/test/test_tools.py
Misc/NEWS
Python/importlib.h
setup.py