mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
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 |
||
|---|---|---|
| .. | ||
| metadata | ||
| __init__.py | ||
| _bootstrap.py | ||
| _bootstrap_external.py | ||
| abc.py | ||
| machinery.py | ||
| resources.py | ||
| util.py | ||