From: Brett Cannon Date: Mon, 26 Jan 2009 01:54:40 +0000 (+0000) Subject: Update NOTES for importlib. X-Git-Tag: v3.1a1~397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0005ff41fdb3e8806aaaf812a71ba507a83b14c;p=python Update NOTES for importlib. --- diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 6d6464c28a..d607449cd5 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