summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Simplify write_bytecode for importlib.Brett Cannon2009-02-011-30/+7
|
* Update importlib notes.Brett Cannon2009-02-011-12/+11
|
* Ditch read_source() and read_bytecode() and replace with *_path() andBrett Cannon2009-02-012-40/+8
| | | | get_data().
* Expose source_path and bytecode_path on _PyFileLoader.Brett Cannon2009-02-012-11/+13
|
* 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-0110-92/+99
|
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-0122-191/+163
|
* Do not execute the .pyc/.pyo files as well as the .py files.Brett Cannon2009-02-011-1/+4
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-018-113/+123
| | | | importlib.test.support to importlib.test.source.util.
* Move source loader tests (including reload tests) over toBrett Cannon2009-02-013-77/+72
| | | | importlib.test.abc.LoaderTests.
* Fix importlib.machinery.FrozenImporter.load_module() to set __package__Brett Cannon2009-02-013-20/+57
| | | | | 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-012-4/+22
|
* Move built-in loader tests to importlib.test.abc.LoaderTests.Brett Cannon2009-02-012-5/+24
|
* Merge testing ABCs for importlib into importlib.test.abc.Brett Cannon2009-01-306-47/+45
|
* Initial take on importlib.test.loader_tests.Brett Cannon2009-01-272-8/+66
|
* Update importlib NOTES.Brett Cannon2009-01-271-2/+9
|
* Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.Brett Cannon2009-01-271-5/+8
|
* Move importlib.test.builtin.test_finder over to importlib.test.finder_tests.Brett Cannon2009-01-271-8/+27
|
* Make importlib.test.finder_tests an ABC.Brett Cannon2009-01-271-14/+14
|
* Move importlib.test.extension.test_finder over to importlib.test.finder_tests.Brett Cannon2009-01-271-2/+19
|
* Update NOTES for importlib.Brett Cannon2009-01-261-18/+8
|
* Document both importlib.machinery.BuiltinImporter and FrozenImporter.Brett Cannon2009-01-252-8/+2
|
* Add some comment markers to more clearly delineate what different parts of theBrett Cannon2009-01-221-1/+5
| | | | | code are for. Also add a note that the import * at the end of the file should eventually go away.
* Add importlib.machinery with its first tenants, BuitinImporter andBrett Cannon2009-01-227-75/+68
| | | | | | | | 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-202-30/+30
| | | | key refactorings occur more of the API will be exposed and documented.
* Remove a debugging print statement that accidentally got left in.Brett Cannon2009-01-191-1/+0
|
* Fix a typo in some code that is not tested or supported yet.Brett Cannon2009-01-191-1/+1
| | | | Closes issue 4993. Thanks Antoine Pitrou for the catch.
* Tests of case-sensitivity were being executed on OSs which did not have aBrett Cannon2009-01-183-4/+13
| | | | | | case-insensitive file system, leading to test failures. This was due to using the TestCase objects directly instead of the guard in the test_main() function. Move over to a class decorator instead to control if the tests should be run.
* NOTES for importlib should mention the ultimate end-goal for the package.Brett Cannon2009-01-181-0/+2
|
* Skip over any file or folder that starts with a dot (e.g. .svn).Brett Cannon2009-01-181-0/+3
|
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-1834-0/+3350
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.