Brett Cannon
eb2e0dd19d
Move importlib's frozen importer over to rpartition for setting __package__.
2009-02-07 01:38:38 +00:00
Brett Cannon
bcb26c53c0
Rename importlib.test.support to importlib.test.util.
2009-02-01 04:00:05 +00:00
Brett Cannon
223a19d8b1
Fix importlib.machinery.FrozenImporter.load_module() to set __package__
...
properly. Discovered by also moving the loader tests over to
importlib.test.abc.LoaderTests.
2009-02-01 01:34:13 +00:00
Brett Cannon
5abdc93eb8
Add importlib.machinery with its first tenants, BuitinImporter and
...
FrozenImporter. Docs forthcoming.
I plan on all finders and loaders (and most likely hooks) to live
in imoprtlib.machinery. Utility stuff will end up in importlib.util.
Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
2009-01-22 22:43:07 +00:00
Brett Cannon
23cbd8a656
Add initial implementation of importlib. See the NOTES files for what is
...
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.
2009-01-18 00:24:28 +00:00