commit | 2a922ed6adf28fabd10cb852133be5aeeb906aa5 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Mon Mar 09 03:35:50 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Mon Mar 09 03:35:50 2009 +0000 |
tree | 233b1352e48970174dade4ca795d853b8cc6e501 | |
parent | aa1c8d88992d482f90268f2352fccb6e74d87279 [diff] |
Introduce importlib.abc. The module contains various ABCs related to imports (mostly stuff specified by PEP 302). There are two ABCs, PyLoader and PyPycLoader, which help with implementing source and source/bytecode loaders by implementing load_module in terms of other methods. This removes a lot of gritty details loaders typically have to worry about.