mirror of
https://github.com/python/cpython.git
synced 2025-10-30 01:47:38 +00:00
Separate out finder for source and source/bytecode.
This commit is contained in:
parent
2dee597e05
commit
4afab6b30b
4 changed files with 21 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue