Outline a possible way to separate out source loading from bytecode loading.

This commit is contained in:
Brett Cannon 2009-02-17 07:15:17 +00:00
parent d2e7b33815
commit 33dbf46544
1 changed files with 21 additions and 0 deletions

View File

@ -5,6 +5,27 @@ to do
subclass of source support (makes it nicer for VMs that don't use CPython subclass of source support (makes it nicer for VMs that don't use CPython
bytecode). 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). * Implement PEP 302 protocol for loaders (should just be a matter of testing).
+ Source/bytecode. + Source/bytecode.