Separate out finder for source and source/bytecode.

This commit is contained in:
Brett Cannon 2009-02-21 03:31:35 +00:00
parent 2dee597e05
commit 4afab6b30b
4 changed files with 21 additions and 10 deletions

View file

@ -5,19 +5,22 @@ to do
subclass of source support (makes it nicer for VMs that don't use CPython
bytecode).
+ ExtensionFileFinder
+ PyFileFinder
+ PyPycFileFinder
+ PyFileLoader
+ PyLoader (for ABC)
- get_code for source only
+ PyFileLoader(PyLoader)
- get_data
- source_mtime
- source_path
+ PyPycFileLoader(PyFileLoader)
+PyPycLoader (PyLoader, for ABC)
- get_code for source and bytecode
+ PyPycFileLoader(PyPycLoader, PyFileLoader)
- get_code
- bytecode_path
- write_bytecode