]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #18076: Introduce imoportlib.util.decode_source().
authorBrett Cannon <brett@python.org>
Sun, 16 Jun 2013 22:37:53 +0000 (18:37 -0400)
committerBrett Cannon <brett@python.org>
Sun, 16 Jun 2013 22:37:53 +0000 (18:37 -0400)
commitf24fecd4ac9050799d02a8354b7acfa12b65b1d3
tree332e7e70c73bfbe61754e95a173aadbbe6e004a4
parentf4375ef4d458bf24610ffef591f8197a3dbf0b35
Issue #18076: Introduce imoportlib.util.decode_source().

The helper function makes it easier to implement
imoprtlib.abc.InspectLoader.get_source() by making that function
require just the raw bytes for source code and handling all other
details.
Doc/library/importlib.rst
Lib/importlib/_bootstrap.py
Lib/importlib/util.py
Lib/test/test_importlib/test_util.py
Misc/NEWS
Python/importlib.h