summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-07 13:42:33 (GMT)
committerGitHub <noreply@github.com>2020-05-07 13:42:33 (GMT)
commit8963a7f1f84a05412178b56629508b660d38861b (patch)
tree32a18b25fa9f7d17bc7479f49f8d1695dfa0ff77 /Misc
parente1becf46b4e3ba6d7d32ebf4bbd3e0804766a423 (diff)
downloadcpython-8963a7f1f84a05412178b56629508b660d38861b.zip
cpython-8963a7f1f84a05412178b56629508b660d38861b.tar.gz
cpython-8963a7f1f84a05412178b56629508b660d38861b.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-05-07-11-41-13.bpo-40545.51DzF1.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-05-07-11-41-13.bpo-40545.51DzF1.rst b/Misc/NEWS.d/next/C API/2020-05-07-11-41-13.bpo-40545.51DzF1.rst
new file mode 100644
index 0000000..d7f256a
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-05-07-11-41-13.bpo-40545.51DzF1.rst
@@ -0,0 +1,3 @@
+Declare ``_PyErr_GetTopmostException()`` with ``PyAPI_FUNC()`` to properly
+export the function in the C API. The function remains private (``_Py``)
+prefix.