mirror of
https://github.com/python/cpython.git
synced 2025-10-27 11:44:39 +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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| test___loader__.py | ||
| test___package__.py | ||
| test_api.py | ||
| test_caching.py | ||
| test_fromlist.py | ||
| test_meta_path.py | ||
| test_packages.py | ||
| test_path.py | ||
| test_relative_imports.py | ||