2009-01-17 20:24:28 -04:00
|
|
|
to do
|
|
|
|
/////
|
|
|
|
|
2009-02-15 01:46:50 -04:00
|
|
|
* Change failed loading based on PEP 302 changes.
|
|
|
|
|
2009-02-09 17:51:29 -04:00
|
|
|
* Refactor source/bytecode finder/loader code such that bytecode support is a
|
|
|
|
subclass of source support (makes it nicer for VMs that don't use CPython
|
|
|
|
bytecode).
|
|
|
|
|
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
|