2009-01-17 20:24:28 -04:00
|
|
|
to do
|
|
|
|
/////
|
|
|
|
|
2009-01-25 21:54:40 -04:00
|
|
|
* Implement PEP 302 protocol for loaders (should just be a matter of testing).
|
|
|
|
|
|
|
|
+ Built-in.
|
|
|
|
+ Frozen.
|
|
|
|
+ Extension.
|
|
|
|
+ Source/bytecode.
|
|
|
|
|
2009-02-05 20:07:49 -04:00
|
|
|
* Public API left to expose (w/ docs!)
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
+ abc
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- Finder
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* find_module
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- Loader
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* load_module
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-02-05 20:07:49 -04:00
|
|
|
- (?) Importer(Finder, Loader)
|
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- ResourceLoader(Loader)
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* get_data
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- InspectLoader(Loader)
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* is_package
|
|
|
|
* get_code
|
|
|
|
* get_source
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- (?) SourceLoader(ResourceLoader)
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* source_path
|
|
|
|
* bytecode_path
|
2009-02-06 21:15:27 -04:00
|
|
|
* write_bytecode (not abstract)
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-02-06 22:14:07 -04:00
|
|
|
+ util
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-02-06 21:15:27 -04:00
|
|
|
- get_module decorator (rename: module_for_loader)
|
2009-02-06 21:57:14 -04:00
|
|
|
- set___package__ decorator
|
2009-01-22 18:43:07 -04:00
|
|
|
|
|
|
|
+ machinery
|
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- (?) Chained path hook/finder
|
|
|
|
- (?) FileFinder
|
|
|
|
- Extensions importers
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* ExtensionFinder
|
|
|
|
* (?) Loader
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- Source/bytecode importers
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* SourceFinder
|
|
|
|
* (?) Loader
|
2009-01-17 20:36:55 -04:00
|
|
|
|
2009-02-06 21:15:27 -04:00
|
|
|
- PathFinder
|
|
|
|
|
2009-02-01 01:55:23 -04:00
|
|
|
* Write benchmark suite.
|
|
|
|
|
|
|
|
* OPTIMIZE!
|
|
|
|
|
2009-02-05 20:07:49 -04:00
|
|
|
+ Fast path absolute name.
|
|
|
|
+ Fast path pulling from sys.modules.
|
2009-02-01 01:55:23 -04:00
|
|
|
|
2009-01-17 20:36:55 -04:00
|
|
|
* Bootstrap importlib as implementation of builtins.__import__
|
2009-02-02 16:32:29 -04:00
|
|
|
|
|
|
|
* Replace standard library modules.
|
|
|
|
|
|
|
|
+ imp
|
|
|
|
+ py_compile
|
|
|
|
+ compileall
|