Move importlib completely over to using rpartition and accepting the empty

string for top-level modules.
This commit is contained in:
Brett Cannon 2009-02-07 01:52:25 +00:00
parent d94e558fdc
commit 06c9d96b70
4 changed files with 22 additions and 15 deletions

View file

@ -1,10 +1,7 @@
to do
/////
* Use rpartition for getting the package of a module.
+ Make sure there is a test for the empty string as acceptable for
__package__.
* Extract test_path_hooks constants into a util module for extension testing.
* Implement PEP 302 protocol for loaders (should just be a matter of testing).