mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
c5fa44944e
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
Miscellaneous source files for the main Python shared library