diff options
Diffstat (limited to 'Lib/importlib/NOTES')
-rw-r--r-- | Lib/importlib/NOTES | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 6d6464c..d607449 100644 --- a/Lib/importlib/NOTES +++ b/Lib/importlib/NOTES @@ -1,20 +1,9 @@ to do ///// -* Expose resolve_name(). - -* Backport to Python 2.7. - - + import_module - + resolve_name - * Create reasonable base tests that all finders and loaders must pass so that various implementations can just subclass as needed. -* Expose built-in and frozen importers. - - + Make staticmethods so that class can be used directly. - * Reorganize support code. + Separate general support code and importer-specific (e.g. source) support @@ -31,13 +20,6 @@ to do + write_bytecode -> complete set of bytes for bytecode instead of individual arguments. -* Implement PEP 302 protocol for loaders (should just be a matter of testing). - - + Built-in. - + Frozen. - + Extension. - + Source/bytecode. - * Create meta_path importer for sys.path. * OPTIMIZE! @@ -48,6 +30,13 @@ to do - Absolute name from sys.path. - Relative name from sys.path. +* Implement PEP 302 protocol for loaders (should just be a matter of testing). + + + Built-in. + + Frozen. + + Extension. + + Source/bytecode. + * Public API to expose (w/ docs!) + abc @@ -80,6 +69,7 @@ to do - get_module decorator (new name) - check_name decorator (new name) + - resolve_name + machinery |