2009-01-17 20:24:28 -04:00
|
|
|
to do
|
|
|
|
/////
|
|
|
|
|
2009-02-02 16:32:29 -04:00
|
|
|
* Create sandbox directory for a distutils packaging of what is in Python 2.7.
|
|
|
|
|
2009-02-02 01:58:30 -04:00
|
|
|
* Use rpartition for getting the package of a module.
|
|
|
|
|
|
|
|
+ Make sure that an empty string is acceptable for __package__.
|
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
* Create meta_path importer for sys.path.
|
|
|
|
|
2009-02-04 22:53:47 -04:00
|
|
|
+ Document.
|
2009-01-17 20:24:28 -04:00
|
|
|
|
2009-02-05 20:07:49 -04:00
|
|
|
* Refactor __import__.
|
|
|
|
|
|
|
|
+ Create a greatest common denominator function for __import__/import_module
|
|
|
|
that takes in an absolute module name and performs the import.
|
|
|
|
+ Use GCD import for __import__.
|
|
|
|
+ Use GCD import for import_module.
|
|
|
|
|
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
|
|
|
|
* write_bytecode
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
+ util
|
2009-01-22 18:43:07 -04:00
|
|
|
|
2009-01-17 20:24:28 -04:00
|
|
|
- get_module decorator (new name)
|
|
|
|
- check_name decorator (new name)
|
2009-01-25 21:54:40 -04:00
|
|
|
- resolve_name
|
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-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
|