Brett Cannon
6411aa5dd4
Finish implementing tests for importlib.machinery.PathFinder by testing that
...
implicit hooks are handled properly.
2009-02-06 00:07:49 +00:00
Brett Cannon
64a3a65c26
Update NOTES for importlib about PathFinder.
2009-02-05 02:53:47 +00:00
Brett Cannon
438cecd3de
Add some notes for importlib to package up what is in Python 2.7 as well as modules that can probably get replaced by importlib at some point.
2009-02-02 20:32:29 +00:00
Brett Cannon
02a6888d91
Note to move __package__ stuff over to rpartition to make Nick happy. Also make
...
sure that accepting the empty string for top-level modules is okay.
2009-02-02 05:58:30 +00:00
Brett Cannon
20b56e1a1c
Update importlib notes.
2009-02-01 05:55:23 +00:00
Brett Cannon
ba96f0f89a
Ditch read_source() and read_bytecode() and replace with *_path() and
...
get_data().
2009-02-01 05:43:31 +00:00
Brett Cannon
51c502689c
Expose source_path and bytecode_path on _PyFileLoader.
2009-02-01 05:33:17 +00:00
Brett Cannon
6c3aaf3276
Remove an outdated todo item from importlib.
2009-02-01 05:04:06 +00:00
Brett Cannon
d720b36248
Move import semantic util code to importlib.test.import_.util.
2009-02-01 04:28:04 +00:00
Brett Cannon
bcb26c53c0
Rename importlib.test.support to importlib.test.util.
2009-02-01 04:00:05 +00:00
Brett Cannon
4ee2cdaf65
Split out support code that is specific to source tests out of
...
importlib.test.support to importlib.test.source.util.
2009-02-01 03:08:31 +00:00
Brett Cannon
30b047dc35
Move source loader tests (including reload tests) over to
...
importlib.test.abc.LoaderTests.
2009-02-01 02:05:11 +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
e70485e7c1
Move extension module loader tests over to importlib.test.abc.LoaderTests.
2009-02-01 00:49:41 +00:00
Brett Cannon
d98a6a014d
Move built-in loader tests to importlib.test.abc.LoaderTests.
2009-02-01 00:37:13 +00:00
Brett Cannon
a74ccea968
Initial take on importlib.test.loader_tests.
2009-01-27 02:39:33 +00:00
Brett Cannon
dd827c403f
Update importlib NOTES.
2009-01-27 01:46:04 +00:00
Brett Cannon
d0005ff41f
Update NOTES for importlib.
2009-01-26 01:54:40 +00:00
Brett Cannon
78246b6b45
Document both importlib.machinery.BuiltinImporter and FrozenImporter.
2009-01-25 04:56:30 +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
afccd63ac9
Document the (very small) public API for importlib. As time goes on and some
...
key refactorings occur more of the API will be exposed and documented.
2009-01-20 02:21:27 +00:00
Brett Cannon
24b6a2cf38
NOTES for importlib should mention the ultimate end-goal for the package.
2009-01-18 00:36:55 +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