From: Brett Cannon Date: Sun, 1 Feb 2009 05:55:23 +0000 (+0000) Subject: Update importlib notes. X-Git-Tag: v3.1a1~321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20b56e1a1c737ee9409626b7cbccc91c237966d1;p=python Update importlib notes. --- diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 7e785ff8bf..7a9ca6652f 100644 --- a/Lib/importlib/NOTES +++ b/Lib/importlib/NOTES @@ -1,20 +1,10 @@ to do ///// -* API simplification? - - + write_bytecode -> complete set of bytes for bytecode instead of - individual arguments. - * Create meta_path importer for sys.path. -* OPTIMIZE! - - + Write benchmark suite. - + Fast path common cases. - - - Absolute name from sys.path. - - Relative name from sys.path. + + Create hook. + + Rewrite Import to use the hook. * Implement PEP 302 protocol for loaders (should just be a matter of testing). @@ -73,4 +63,13 @@ to do * SourceFinder * (?) Loader +* Write benchmark suite. + +* OPTIMIZE! + + + Fast path common cases. + + - Absolute name from sys.path. + - Relative name from sys.path. + * Bootstrap importlib as implementation of builtins.__import__