summaryrefslogtreecommitdiff
path: root/Lib/importlib/NOTES
Commit message (Collapse)AuthorAgeFilesLines
* Document import's semantics for the language reference. This includes fillingBrett Cannon2009-03-211-7/+0
| | | | in missing details for the sys module.
* Implement InspectLoader for FrozenImporter.Brett Cannon2009-03-151-4/+0
|
* Implement InspectLoader for BuiltinImporter.Brett Cannon2009-03-151-3/+1
|
* Finish properly hiding importlib implementation code.Brett Cannon2009-03-121-9/+0
|
* Add a NOTE for importlib to fill in the docstrings for the ABCs.Brett Cannon2009-03-111-0/+2
|
* Implement importlib.util.set_loader: a decorator to automatically setBrett Cannon2009-03-101-4/+0
| | | | __loader__ on modules.
* Implement get_source for importlib.abc.PyLoader using source_path and get_data.Brett Cannon2009-03-101-1/+0
|
* Clean up importlib NOTES so it only contains short term goals.Brett Cannon2009-03-091-16/+0
|
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-091-34/+5
| | | | | | | (mostly stuff specified by PEP 302). There are two ABCs, PyLoader and PyPycLoader, which help with implementing source and source/bytecode loaders by implementing load_module in terms of other methods. This removes a lot of gritty details loaders typically have to worry about.
* Expose importlib.util.set___package__.Brett Cannon2009-03-021-21/+5
|
* Refactor source and bytecode file loaders in importlib so that thereBrett Cannon2009-02-211-26/+2
| | | | are source-only and source/bytecode loaders.
* Tweak the source/bytecode loader from importlib to use more of the PEP 302Brett Cannon2009-02-211-0/+2
| | | | protocol API.
* Separate out finder for source and source/bytecode.Brett Cannon2009-02-211-6/+9
|
* Add some notes about importlib and some API exposure cleanup.Brett Cannon2009-02-211-5/+7
|
* Minor NOTES changes for importlib.Brett Cannon2009-02-211-2/+1
|
* Outline a possible way to separate out source loading from bytecode loading.Brett Cannon2009-02-171-0/+21
|
* Implement the more specific PEP 302 semantics for loaders and what happens uponBrett Cannon2009-02-171-33/+31
| | | | | | load failure in relation to reloads. Also expose importlib.util.module_for_loader to handle all of the details of this along with making sure all current loaders behave nicely.
* Document importlib.machinery.PathFinder.Brett Cannon2009-02-161-1/+5
|
* Add a NOTE about the new specific semantics for failed loads.Brett Cannon2009-02-151-0/+2
|
* Add a NOTE that alternative VMs should be supported by importlib in a nicerBrett Cannon2009-02-091-0/+4
| | | | fashion by factoring out bytecode support.
* Update NOTES for importlib now that a replacement for functools.wraps isBrett Cannon2009-02-071-1/+1
| | | | available.
* Create a simple substitute for functools.wraps to use in importlib._bootstrap.Brett Cannon2009-02-071-2/+0
|
* Factor out helper code from importlib.test.extension.test_path_hook.Brett Cannon2009-02-071-2/+0
|
* Add a note for importlib about backporting some of functools.wraps ↵Brett Cannon2009-02-071-1/+4
| | | | functionality.
* Move importlib completely over to using rpartition and accepting the emptyBrett Cannon2009-02-071-4/+1
| | | | string for top-level modules.
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-071-31/+6
| | | | | | | | | and relies much more on meta path finders to abstract out various parts of import. As part of this the semantics for import_module tightened up and now follow __import__ much more closely (biggest thing is that the 'package' argument must now already be imported, else a SystemError is raised).
* Initial, untested stab at writing a common denominator function for __import__Brett Cannon2009-02-061-0/+13
| | | | and import_module.
* Finish implementing tests for importlib.machinery.PathFinder by testing thatBrett Cannon2009-02-061-10/+12
| | | | implicit hooks are handled properly.
* Update NOTES for importlib about PathFinder.Brett Cannon2009-02-051-0/+2
|
* Add some notes for importlib to package up what is in Python 2.7 as well as ↵Brett Cannon2009-02-021-0/+8
| | | | modules that can probably get replaced by importlib at some point.
* Note to move __package__ stuff over to rpartition to make Nick happy. Also makeBrett Cannon2009-02-021-0/+4
| | | | sure that accepting the empty string for top-level modules is okay.
* Update importlib notes.Brett Cannon2009-02-011-12/+11
|
* Ditch read_source() and read_bytecode() and replace with *_path() andBrett Cannon2009-02-011-1/+0
| | | | get_data().
* Expose source_path and bytecode_path on _PyFileLoader.Brett Cannon2009-02-011-2/+1
|
* Remove an outdated todo item from importlib.Brett Cannon2009-02-011-6/+0
|
* Move import semantic util code to importlib.test.import_.util.Brett Cannon2009-02-011-4/+0
|
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-011-0/+4
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-011-3/+0
| | | | importlib.test.support to importlib.test.source.util.
* Move source loader tests (including reload tests) over toBrett Cannon2009-02-011-4/+0
| | | | importlib.test.abc.LoaderTests.
* Fix importlib.machinery.FrozenImporter.load_module() to set __package__Brett Cannon2009-02-011-1/+0
| | | | | properly. Discovered by also moving the loader tests over to importlib.test.abc.LoaderTests.
* Move extension module loader tests over to importlib.test.abc.LoaderTests.Brett Cannon2009-02-011-1/+0
|
* Move built-in loader tests to importlib.test.abc.LoaderTests.Brett Cannon2009-02-011-2/+1
|
* Initial take on importlib.test.loader_tests.Brett Cannon2009-01-271-8/+5
|
* Update importlib NOTES.Brett Cannon2009-01-271-2/+9
|
* Update NOTES for importlib.Brett Cannon2009-01-261-18/+8
|
* Document both importlib.machinery.BuiltinImporter and FrozenImporter.Brett Cannon2009-01-251-6/+0
|
* Add importlib.machinery with its first tenants, BuitinImporter andBrett Cannon2009-01-221-1/+32
| | | | | | | | FrozenImporter. Docs forthcoming. I plan on all finders and loaders (and most likely hooks) to live in imoprtlib.machinery. Utility stuff will end up in importlib.util. Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
* Document the (very small) public API for importlib. As time goes on and someBrett Cannon2009-01-201-9/+4
| | | | key refactorings occur more of the API will be exposed and documented.
* NOTES for importlib should mention the ultimate end-goal for the package.Brett Cannon2009-01-181-0/+2
|
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-181-0/+78
planned for the package. There are no docs yet, but they are coming once the API for the first new function, importlib.import_module() is finalized.