summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/import_
Commit message (Collapse)AuthorAgeFilesLines
* Fixup/simplify another nested context manager.Raymond Hettinger2009-06-121-6/+3
|
* Fix importlib.machinery.PathFinder.find_module() to essentially skip over NoneBrett Cannon2009-03-301-0/+19
| | | | | | entries in sys.path_importer_cache. While this differs from semantics in how __import__ works, it prevents any implicit semantics from taking hold with users.
* A few more docstring/API cleanups for importlib.Brett Cannon2009-03-151-1/+1
|
* Remove a dead XXX comment.Brett Cannon2009-03-091-1/+0
|
* Do some cleanup in importlib:Brett Cannon2009-02-211-3/+3
| | | | | | | + Ditch using arguments to super(). + Ditch subclassing from object directly. + Move directory check out of chaining path hook to file path hook/finder. + Rename some classes to better reflect they are finders, not importers.
* Change importlib.machinery.PathFinder to not have implicit semantics (that'sBrett Cannon2009-02-152-34/+35
| | | | not handled by importlib._bootstrap._DefaultPathFinder).
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-074-148/+9
| | | | | | | | | 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).
* Finish implementing tests for importlib.machinery.PathFinder by testing thatBrett Cannon2009-02-061-4/+19
| | | | implicit hooks are handled properly.
* Add tests for using sys.path_hooks by importlib.machinery.PathFinder.Brett Cannon2009-02-051-2/+10
|
* Implement test for sys.path_importer_cache having None forBrett Cannon2009-02-051-2/+14
| | | | importlib.machinery.PathFinder.
* Begin writing tests for importlib.machinery.PathFinder.Brett Cannon2009-02-051-1/+57
|
* Move import semantic util code to importlib.test.import_.util.Brett Cannon2009-02-018-56/+99
|
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-017-129/+124
|
* Add initial implementation of importlib. See the NOTES files for what isBrett Cannon2009-01-188-0/+799
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.