mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
Update importlib notes.
This commit is contained in:
parent
ba96f0f89a
commit
20b56e1a1c
@ -1,20 +1,10 @@
|
||||
to do
|
||||
/////
|
||||
|
||||
* API simplification?
|
||||
|
||||
+ write_bytecode -> complete set of bytes for bytecode instead of
|
||||
individual arguments.
|
||||
|
||||
* Create meta_path importer for sys.path.
|
||||
|
||||
* OPTIMIZE!
|
||||
|
||||
+ Write benchmark suite.
|
||||
+ Fast path common cases.
|
||||
|
||||
- Absolute name from sys.path.
|
||||
- Relative name from sys.path.
|
||||
+ Create hook.
|
||||
+ Rewrite Import to use the hook.
|
||||
|
||||
* Implement PEP 302 protocol for loaders (should just be a matter of testing).
|
||||
|
||||
@ -73,4 +63,13 @@ to do
|
||||
* SourceFinder
|
||||
* (?) Loader
|
||||
|
||||
* Write benchmark suite.
|
||||
|
||||
* OPTIMIZE!
|
||||
|
||||
+ Fast path common cases.
|
||||
|
||||
- Absolute name from sys.path.
|
||||
- Relative name from sys.path.
|
||||
|
||||
* Bootstrap importlib as implementation of builtins.__import__
|
||||
|
Loading…
Reference in New Issue
Block a user