Kaydet (Commit) 20b56e1a authored tarafından Brett Cannon's avatar Brett Cannon

Update importlib notes.

üst ba96f0f8
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__
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment