cpython/Lib/importlib/test/import_
Brett Cannon e0d88a173c Issue #14605: Make explicit the entries on sys.path_hooks that used to
be implicit.

Added a warning for when sys.path_hooks is found to be empty. Also
changed the meaning of None in sys.path_importer_cache to represent
trying sys.path_hooks again (an interpretation of previous semantics).
Also added a warning for when None was found.

The long-term goal is for None in sys.path_importer_cache to represent
the same as imp.NullImporter: no finder found for that sys.path entry.
2012-04-25 20:54:04 -04:00
..
__init__.py
test___package__.py Improper type for __package__ should raise TypeError, not ValueError. 2012-02-23 18:29:12 -05:00
test_api.py importlib.__import__() now raises ValueError when level < 0. 2012-02-16 17:47:48 -05:00
test_caching.py rollback 005fd1fe31ab (see #14609 and #14582) 2012-04-18 10:55:43 -04:00
test_fromlist.py Issue #14605: Make explicit the entries on sys.path_hooks that used to 2012-04-25 20:54:04 -04:00
test_meta_path.py
test_packages.py Have importlib take advantage of ImportError's new 'name' and 'path' 2012-04-12 21:09:01 -04:00
test_path.py Issue #14605: Make explicit the entries on sys.path_hooks that used to 2012-04-25 20:54:04 -04:00
test_relative_imports.py Issue #14592: A relative import will raise a KeyError if __package__ 2012-04-17 19:05:11 -04:00
util.py Issue #2377: Make importlib the implementation of __import__(). 2012-04-14 14:10:13 -04:00