SIGN IN SIGN UP

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
N
Ngalim Siregar committed
c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2
Parent: 8e568ef
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 8/3/2019, 5:46:02 AM