diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-17 07:15:17 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-17 07:15:17 (GMT) |
commit | 33dbf46544ebdb30b80b5321c7e393b1e0ccfeb2 (patch) | |
tree | 26519107bd1dbceb1b8c96dd57f2f7cedb43d818 | |
parent | d2e7b3381532720cdfafbf59491bb74b7ff31b51 (diff) | |
download | cpython-33dbf46544ebdb30b80b5321c7e393b1e0ccfeb2.zip cpython-33dbf46544ebdb30b80b5321c7e393b1e0ccfeb2.tar.gz cpython-33dbf46544ebdb30b80b5321c7e393b1e0ccfeb2.tar.bz2 |
Outline a possible way to separate out source loading from bytecode loading.
-rw-r--r-- | Lib/importlib/NOTES | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 4a47385..6a8f45a 100644 --- a/Lib/importlib/NOTES +++ b/Lib/importlib/NOTES @@ -5,6 +5,27 @@ to do subclass of source support (makes it nicer for VMs that don't use CPython bytecode). + + chained_path_hook + + FileFinder + + - find_module + + + ExtensionFileFinder + + PyFileFinder + + PyPycFileFinder + + PyFileLoader + + - get_code for source only + - get_data + - source_mtime + - source_path + + + PyPycFileLoader(PyFileLoader) + + - get_code + - bytecode_path + - write_bytecode + * Implement PEP 302 protocol for loaders (should just be a matter of testing). + Source/bytecode. |