diff options
author | Julien Danjou <julien@danjou.info> | 2020-01-13 16:30:14 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@python.org> | 2020-01-13 16:30:14 (GMT) |
commit | 3430c55417f59078ac397c343894a3ee82a39624 (patch) | |
tree | d3af476d850ca05ea37130eb7e22c0229cb13612 /Misc/NEWS.d | |
parent | d8efc1495194228c3a4cd472200275d6491d8e2d (diff) | |
download | cpython-3430c55417f59078ac397c343894a3ee82a39624.zip cpython-3430c55417f59078ac397c343894a3ee82a39624.tar.gz cpython-3430c55417f59078ac397c343894a3ee82a39624.tar.bz2 |
bpo-39164: Add private _PyErr_GetExcInfo() function (GH-17752)
This adds a new function named _PyErr_GetExcInfo() that is a variation of the
original PyErr_GetExcInfo() taking a PyThreadState as its first argument.
That function allows to retrieve the exceptions information of any Python
thread -- not only the current one.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/C API/2019-12-30-10-43-52.bpo-39164.WEV0uu.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-12-30-10-43-52.bpo-39164.WEV0uu.rst b/Misc/NEWS.d/next/C API/2019-12-30-10-43-52.bpo-39164.WEV0uu.rst new file mode 100644 index 0000000..bb72ac7 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2019-12-30-10-43-52.bpo-39164.WEV0uu.rst @@ -0,0 +1 @@ +Add a private ``_PyErr_GetExcInfo()`` function to retrieve exception information of the specified Python thread state. |