diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-21 05:41:15 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-21 05:41:15 (GMT) |
commit | 91cf882b367644ece7f121cd22fc43c2f439a2d5 (patch) | |
tree | 29ed464e53b9c2aa142077091f71e8c2c96d8665 /Lib/importlib/NOTES | |
parent | 0515619dbc0c11818fa15785e40491cf8d01042f (diff) | |
download | cpython-91cf882b367644ece7f121cd22fc43c2f439a2d5.zip cpython-91cf882b367644ece7f121cd22fc43c2f439a2d5.tar.gz cpython-91cf882b367644ece7f121cd22fc43c2f439a2d5.tar.bz2 |
Refactor source and bytecode file loaders in importlib so that there
are source-only and source/bytecode loaders.
Diffstat (limited to 'Lib/importlib/NOTES')
-rw-r--r-- | Lib/importlib/NOTES | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/Lib/importlib/NOTES b/Lib/importlib/NOTES index 35c8fd3..22103a1 100644 --- a/Lib/importlib/NOTES +++ b/Lib/importlib/NOTES @@ -1,31 +1,6 @@ to do ///// -* 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). - - + PyLoader (for ABC) - - - load_module for source only - - get_code for source only - - + PyFileLoader(PyLoader) - - - get_data - - source_mtime - - source_path - - +PyPycLoader (PyLoader, for ABC) - - - load_module for source and bytecode - - get_code for source and bytecode - - + PyPycFileLoader(PyPycLoader, PyFileLoader) - - - bytecode_path - - write_bytecode - * Implement PEP 302 protocol for loaders (should just be a matter of testing). + Source/bytecode. @@ -42,7 +17,6 @@ to do * load_module - - (?) Importer(Finder, Loader) - ResourceLoader(Loader) * get_data @@ -89,6 +63,8 @@ to do * 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 |