]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40545: Export _PyErr_GetTopmostException() function (GH-19978)
authorVictor Stinner <vstinner@python.org>
Thu, 7 May 2020 13:42:33 +0000 (15:42 +0200)
committerGitHub <noreply@github.com>
Thu, 7 May 2020 13:42:33 +0000 (15:42 +0200)
commit8963a7f1f84a05412178b56629508b660d38861b
tree32a18b25fa9f7d17bc7479f49f8d1695dfa0ff77
parente1becf46b4e3ba6d7d32ebf4bbd3e0804766a423
bpo-40545: Export _PyErr_GetTopmostException() function (GH-19978)

Declare _PyErr_GetTopmostException() with PyAPI_FUNC() to properly
export the function in the C API. The function remains private
("_Py") prefix.

Co-Authored-By: Julien Danjou <julien@danjou.info>
Include/cpython/pyerrors.h
Misc/NEWS.d/next/C API/2020-05-07-11-41-13.bpo-40545.51DzF1.rst [new file with mode: 0644]