mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Update NOTES for importlib.
This commit is contained in:
parent
4e9c0f5cdf
commit
d0005ff41f
1 changed files with 8 additions and 18 deletions
|
|
@ -1,20 +1,9 @@
|
||||||
to do
|
to do
|
||||||
/////
|
/////
|
||||||
|
|
||||||
* Expose resolve_name().
|
|
||||||
|
|
||||||
* Backport to Python 2.7.
|
|
||||||
|
|
||||||
+ import_module
|
|
||||||
+ resolve_name
|
|
||||||
|
|
||||||
* Create reasonable base tests that all finders and loaders must pass so
|
* Create reasonable base tests that all finders and loaders must pass so
|
||||||
that various implementations can just subclass as needed.
|
that various implementations can just subclass as needed.
|
||||||
|
|
||||||
* Expose built-in and frozen importers.
|
|
||||||
|
|
||||||
+ Make staticmethods so that class can be used directly.
|
|
||||||
|
|
||||||
* Reorganize support code.
|
* Reorganize support code.
|
||||||
|
|
||||||
+ Separate general support code and importer-specific (e.g. source) support
|
+ Separate general support code and importer-specific (e.g. source) support
|
||||||
|
|
@ -31,13 +20,6 @@ to do
|
||||||
+ write_bytecode -> complete set of bytes for bytecode instead of
|
+ write_bytecode -> complete set of bytes for bytecode instead of
|
||||||
individual arguments.
|
individual arguments.
|
||||||
|
|
||||||
* Implement PEP 302 protocol for loaders (should just be a matter of testing).
|
|
||||||
|
|
||||||
+ Built-in.
|
|
||||||
+ Frozen.
|
|
||||||
+ Extension.
|
|
||||||
+ Source/bytecode.
|
|
||||||
|
|
||||||
* Create meta_path importer for sys.path.
|
* Create meta_path importer for sys.path.
|
||||||
|
|
||||||
* OPTIMIZE!
|
* OPTIMIZE!
|
||||||
|
|
@ -48,6 +30,13 @@ to do
|
||||||
- Absolute name from sys.path.
|
- Absolute name from sys.path.
|
||||||
- Relative name from sys.path.
|
- Relative name from sys.path.
|
||||||
|
|
||||||
|
* Implement PEP 302 protocol for loaders (should just be a matter of testing).
|
||||||
|
|
||||||
|
+ Built-in.
|
||||||
|
+ Frozen.
|
||||||
|
+ Extension.
|
||||||
|
+ Source/bytecode.
|
||||||
|
|
||||||
* Public API to expose (w/ docs!)
|
* Public API to expose (w/ docs!)
|
||||||
|
|
||||||
+ abc
|
+ abc
|
||||||
|
|
@ -80,6 +69,7 @@ to do
|
||||||
|
|
||||||
- get_module decorator (new name)
|
- get_module decorator (new name)
|
||||||
- check_name decorator (new name)
|
- check_name decorator (new name)
|
||||||
|
- resolve_name
|
||||||
|
|
||||||
+ machinery
|
+ machinery
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue