summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-08-19 12:22:13 (GMT)
committerGitHub <noreply@github.com>2023-08-19 12:22:13 (GMT)
commit92a578409b70b5b9dabc9e55d4d13dd8239fe2f5 (patch)
tree9a6076424b0d1fcea9d4f5abe104fcaaa551fee8 /Python/import.c
parent0673d4c762d6dc4c742e71e76cee66181c457f24 (diff)
downloadcpython-92a578409b70b5b9dabc9e55d4d13dd8239fe2f5.zip
cpython-92a578409b70b5b9dabc9e55d4d13dd8239fe2f5.tar.gz
cpython-92a578409b70b5b9dabc9e55d4d13dd8239fe2f5.tar.bz2
[3.11] gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Format() (GH-107918) (GH-108135)
Such C API functions as PyErr_SetString(), PyErr_Format(), PyErr_SetFromErrnoWithFilename() and many others no longer crash or ignore errors if it failed to format the error message or decode the filename. Instead, they keep a corresponding error. (cherry picked from commit 633ea217a85f6b6ba5bdbc73094254d5811b3485)
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions