| commit | f24fecd4ac9050799d02a8354b7acfa12b65b1d3 | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <brett@python.org> | Sun Jun 16 18:37:53 2013 -0400 |
| committer | Brett Cannon <brett@python.org> | Sun Jun 16 18:37:53 2013 -0400 |
| tree | 332e7e70c73bfbe61754e95a173aadbbe6e004a4 | |
| parent | f4375ef4d458bf24610ffef591f8197a3dbf0b35 [diff] |
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.