diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-20 21:07:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-20 21:07:24 (GMT) |
commit | 97d67e9dabb3d66525a46dc4d802195ced24e6ef (patch) | |
tree | 4501b9e9e344524eb8e6f05e43cc0e5bdf897860 /Doc/tools/.nitignore | |
parent | 7f5a741a28a7b87c9cdb1db87fcb3f0b9ed8ac2a (diff) | |
download | cpython-97d67e9dabb3d66525a46dc4d802195ced24e6ef.zip cpython-97d67e9dabb3d66525a46dc4d802195ced24e6ef.tar.gz cpython-97d67e9dabb3d66525a46dc4d802195ced24e6ef.tar.bz2 |
[3.12] gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Format() (GH-107918) (#108134)
* 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.
(cherry picked from commit 633ea217a85f6b6ba5bdbc73094254d5811b3485)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Define PY_SSIZE_T_CLEAN.
---------
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/tools/.nitignore')
0 files changed, 0 insertions, 0 deletions