summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/import_
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-214-23/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 74584 via svnmerge fromBrett Cannon2009-08-301-4/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74584 | brett.cannon | 2009-08-29 20:47:36 -0700 (Sat, 29 Aug 2009) | 3 lines Have importlib raise ImportError if None is found in sys.modules. This matches current import semantics. ........
* Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-136-31/+31
| | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
* 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.