commit | 3430c55417f59078ac397c343894a3ee82a39624 | [log] [tgz] |
---|---|---|
author | Julien Danjou <julien@danjou.info> | Mon Jan 13 17:30:14 2020 +0100 |
committer | Victor Stinner <vstinner@python.org> | Mon Jan 13 17:30:14 2020 +0100 |
tree | d3af476d850ca05ea37130eb7e22c0229cb13612 | |
parent | d8efc1495194228c3a4cd472200275d6491d8e2d [diff] |
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.