mirror of
https://github.com/python/cpython.git
synced 2025-11-12 15:09:14 +00:00
Update importlib notes.
This commit is contained in:
parent
ba96f0f89a
commit
20b56e1a1c
1 changed files with 11 additions and 12 deletions
|
|
@ -1,20 +1,10 @@
|
||||||
to do
|
to do
|
||||||
/////
|
/////
|
||||||
|
|
||||||
* API simplification?
|
|
||||||
|
|
||||||
+ write_bytecode -> complete set of bytes for bytecode instead of
|
|
||||||
individual arguments.
|
|
||||||
|
|
||||||
* Create meta_path importer for sys.path.
|
* Create meta_path importer for sys.path.
|
||||||
|
|
||||||
* OPTIMIZE!
|
+ Create hook.
|
||||||
|
+ Rewrite Import to use the hook.
|
||||||
+ Write benchmark suite.
|
|
||||||
+ Fast path common cases.
|
|
||||||
|
|
||||||
- Absolute name from sys.path.
|
|
||||||
- Relative name from sys.path.
|
|
||||||
|
|
||||||
* 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).
|
||||||
|
|
||||||
|
|
@ -73,4 +63,13 @@ to do
|
||||||
* SourceFinder
|
* SourceFinder
|
||||||
* (?) Loader
|
* (?) 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__
|
* Bootstrap importlib as implementation of builtins.__import__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue