]> granicus.if.org Git - python/commit
Implement the PEP 302 protocol for get_filename() as
authorBrett Cannon <bcannon@gmail.com>
Mon, 20 Jul 2009 04:23:48 +0000 (04:23 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 20 Jul 2009 04:23:48 +0000 (04:23 +0000)
commit6919427e9462d05f402faa5f846f43e08347cebe
tree862ce874c7e299b7eb5078a7a5b668e4b17b9918
parent64ef00fa605463e1da84e43ea8a5d722843174b6
Implement the PEP 302 protocol for get_filename() as
importlib.abc.ExecutionLoader. PyLoader now inherits from this ABC instead of
InspectLoader directly. Both PyLoader and PyPycLoader provide concrete
implementations of get_filename in terms of source_path and bytecode_path.
Doc/library/importlib.rst
Lib/importlib/_bootstrap.py
Lib/importlib/abc.py
Lib/importlib/test/source/test_abc_loader.py
Lib/importlib/test/test_abc.py
Misc/NEWS