cpython/Lib/importlib/NOTES

71 lines
1.4 KiB
Plaintext
Raw Normal View History

to do
/////
* Public API left to expose (w/ docs!)
+ abc
- Finder
* find_module
- Loader
* load_module
- ResourceLoader(Loader)
* get_data
- InspectLoader(Loader)
* is_package
* get_code
* get_source
2009-03-02 10:38:26 -04:00
- PyLoader(ResourceLoader)
* source_path
2009-03-02 10:38:26 -04:00
- PyPycLoader(PyLoader)
2009-03-02 10:38:26 -04:00
* source_mtime
* bytecode_path
* write_bytecode
2009-02-20 22:51:12 -04:00
+ test (Really want to worry about compatibility with future versions?)
- abc
* FinderTests [doc]
* LoaderTests [doc]
* Remove ``import *`` from importlib.__init__.
* Remove __all__ from importlib._bootstrap.
* Add leading underscores to all objects in importlib._bootstrap that are not
publicly exposed.
* Reorder importlib/_bootstrap.py so definitions are not in inverted order.
* Make sure that there is documentation *somewhere* fully explaining the
semantics of import that can be referenced from the package's documentation
(even if it is in the package documentation itself, although it might be best
in the language specification).
2009-02-01 01:55:23 -04:00
* Write benchmark suite.
* OPTIMIZE!
+ Fast path absolute name.
+ Fast path pulling from sys.modules.
2009-02-01 01:55:23 -04:00
* Bootstrap importlib as implementation of builtins.__import__
* Replace standard library modules.
+ imp
+ py_compile
+ compileall