summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/abc.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 74107 via svnmerge fromBrett Cannon2009-07-201-1/+1
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74107 | brett.cannon | 2009-07-19 20:19:18 -0700 (Sun, 19 Jul 2009) | 8 lines Importlib's documentation said that importlib.abc.PyLoader inherited from importlib.abc.ResourceLoader, when in fact it did not. Fixed the ABC to inherit as documented. This does in introduce an backwards-incompatiblity as the code in PyLoader already required the single method ResourceLoader defined as an abstract method. ........
* Implement InspectLoader for FrozenImporter.Brett Cannon2009-03-151-2/+1
|
* Implement InspectLoader for BuiltinImporter.Brett Cannon2009-03-151-1/+2
|
* A few more docstring/API cleanups for importlib.Brett Cannon2009-03-151-25/+37
|
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-091-0/+110
(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.