mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
PyImport_GetImporter() now sets RuntimeError if it fails to get sys.path_hooks or sys.path_importer_cache or they are not list and dict correspondingly. Previously it could return NULL without setting error in obscure cases, crash or raise SystemError if these attributes have wrong type. (cherry picked from commit 62c7015e89cbdedb5218d4fedd45f971885f67a8)
Miscellaneous source files for the main Python shared library