summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/source/test_loader.py
Commit message (Collapse)AuthorAgeFilesLines
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-091-271/+0
| | | | | | | (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.
* Refactor source and bytecode file loaders in importlib so that thereBrett Cannon2009-02-211-11/+11
| | | | are source-only and source/bytecode loaders.
* Move importlib completely over to using rpartition and accepting the emptyBrett Cannon2009-02-071-1/+1
| | | | string for top-level modules.
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-011-1/+0
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-011-20/+21
| | | | importlib.test.support to importlib.test.source.util.
* Move source loader tests (including reload tests) over toBrett Cannon2009-02-011-2/+72
| | | | importlib.test.abc.LoaderTests.
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-181-0/+201
planned for the package. There are no docs yet, but they are coming once the API for the first new function, importlib.import_module() is finalized.