mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Move importlib completely over to using rpartition and accepting the empty
string for top-level modules.
This commit is contained in:
parent
d94e558fdc
commit
06c9d96b70
4 changed files with 22 additions and 15 deletions
|
@ -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).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue