You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correctly handle errors in PyErr_Set*() functions #107915
C API functions PyErr_SetFromErrnoWithFilename(), PyErr_SetExcFromWindowsErrWithFilename(), PyErr_SetFromWindowsErrWithFilename() , _PyErr_SetString() and _PyErr_FormatV() convert some of their arguments from C string to Python string, but do not check for error. If it fails the behavior is undefined -- it can be ignoring the new error and using None or other default value instead of the string, it can be crash.
Activity
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Fo…
pythongh-107915: Handle errors in C API functions PyErr_Set*() and Py…
[3.11] pythongh-107915: Handle errors in C API functions PyErr_Set*()…
[3.11] gh-107915: Handle errors in C API functions PyErr_Set*() and P…
[3.12] gh-107915: Handle errors in C API functions PyErr_Set*() and P…