summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/import_/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15168: Move importlb.test to test.test_importlib.Brett Cannon2012-07-201-28/+0
| | | | | This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.
* Issue #2377: Make importlib the implementation of __import__().Brett Cannon2012-04-141-1/+0
| | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__().
* Fix the importlib_only test decorator to work again; don't capture the flag ↵Brett Cannon2009-08-301-1/+3
| | | | variable as it might change later.
* Use the public API, not a private one.Brett Cannon2009-08-301-1/+1
|
* Move a test-skipping decorator over to unittest.skipIf.Brett Cannon2009-08-271-10/+3
|
* A few more docstring/API cleanups for importlib.Brett Cannon2009-03-151-1/+1
|
* Change importlib.machinery.PathFinder to not have implicit semantics (that'sBrett Cannon2009-02-151-2/+2
| | | | not handled by importlib._bootstrap._DefaultPathFinder).
* Rewrite the code implementing __import__ for importlib. Now it is much simplerBrett Cannon2009-02-071-2/+3
| | | | | | | | | 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).
* Move import semantic util code to importlib.test.import_.util.Brett Cannon2009-02-011-0/+33