commit | 6919427e9462d05f402faa5f846f43e08347cebe | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Mon Jul 20 04:23:48 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Mon Jul 20 04:23:48 2009 +0000 |
tree | 862ce874c7e299b7eb5078a7a5b668e4b17b9918 | |
parent | 64ef00fa605463e1da84e43ea8a5d722843174b6 [diff] |
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.