aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/dup2.c
diff options
context:
space:
mode:
authorNicolas Trangez <ikke@nicolast.be>2025-04-12 09:40:34 +0200
committerGitHub <noreply@github.com>2025-04-12 07:40:34 +0000
commit2aab2db1461ef49b42549255af16a74b1bf8a5ef (patch)
tree89c09c83c227f883c8a23f1f349932a97c1f4e92 /Python/dup2.c
parente0dffc54b888a18ad22e83411c2b615cc94a1fdf (diff)
downloadcpython-2aab2db1461ef49b42549255af16a74b1bf8a5ef.tar.gz
cpython-2aab2db1461ef49b42549255af16a74b1bf8a5ef.zip
GH-132417: ctypes: Fix potential `Py_DECREF(NULL)` when handling functions returning `PyObject *` (#132418)
Some functions (such as `PyErr_Occurred`) with a `restype` set to `ctypes.py_object` may return NULL without setting an exception.
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions