diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-08-19 11:51:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 11:51:03 (GMT) |
commit | 633ea217a85f6b6ba5bdbc73094254d5811b3485 (patch) | |
tree | c33fba2ad466d260ebdce2e743ca6df9e28a3152 /Doc/library/os.rst | |
parent | 79db9d9a0e8f51ad4ea5caae31d7ae4b29985271 (diff) | |
download | cpython-633ea217a85f6b6ba5bdbc73094254d5811b3485.zip cpython-633ea217a85f6b6ba5bdbc73094254d5811b3485.tar.gz cpython-633ea217a85f6b6ba5bdbc73094254d5811b3485.tar.bz2 |
gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Format() (GH-107918)
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.
Diffstat (limited to 'Doc/library/os.rst')
0 files changed, 0 insertions, 0 deletions