commit | 5650e4f41cc65fae44e44702919df592f15211f3 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Sun Nov 18 10:03:31 2012 -0500 |
committer | Brett Cannon <brett@python.org> | Sun Nov 18 10:03:31 2012 -0500 |
tree | 97f15ed45c4bdcf40670b50a9c93314a5e00187d | |
parent | 195ad6ce052bfdda8f47ffbf14becb95253bafc6 [diff] |
Issue #15627: Add the compile_source() method to importlib.abc.SourceLoader. This provides an easy hook into the import system to allow for source transformations, AST optimizations, etc.