cpython/Lib/importlib
Ngalim Siregar c5fa44944e bpo-37444: Update differing exception between builtins and importlib (GH-14869)
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure.


https://bugs.python.org/issue37444



Automerge-Triggered-By: @brettcannon
2019-08-02 22:46:02 -07:00
..
metadata bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
__init__.py bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 2018-09-18 22:22:29 +03:00
_bootstrap.py bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00
_bootstrap_external.py bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
abc.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 16:20:25 +02:00
machinery.py
resources.py bpo-25711: Move _ZipImportResourceReader from importlib to zipimport. (GH-9406) 2018-09-19 09:28:06 +03:00
util.py bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00