summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-01-26 01:54:40 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-01-26 01:54:40 (GMT)
commitd0005ff41fdb3e8806aaaf812a71ba507a83b14c (patch)
tree4c2f494061b500e95a374c8e6493892d7ac1d39d /Lib/importlib
parent4e9c0f5cdfe3f90b5070a16a73659ea13b11c585 (diff)
downloadcpython-d0005ff41fdb3e8806aaaf812a71ba507a83b14c.zip
cpython-d0005ff41fdb3e8806aaaf812a71ba507a83b14c.tar.gz
cpython-d0005ff41fdb3e8806aaaf812a71ba507a83b14c.tar.bz2
Update NOTES for importlib.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/NOTES26
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