summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-09-23 06:39:24 (GMT)
committerGitHub <noreply@github.com>2023-09-23 06:39:24 (GMT)
commit62c7015e89cbdedb5218d4fedd45f971885f67a8 (patch)
treea6c8a17353fbaf884de9d370f176f8f087bab26f /Lib/enum.py
parentb8d1744e7ba87a4057350fdfd788b5621095fc59 (diff)
downloadcpython-62c7015e89cbdedb5218d4fedd45f971885f67a8.zip
cpython-62c7015e89cbdedb5218d4fedd45f971885f67a8.tar.gz
cpython-62c7015e89cbdedb5218d4fedd45f971885f67a8.tar.bz2
gh-109521: Fix obscure cases handling in PyImport_GetImporter() (GH-109522)
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.
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions