summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-15 18:57:47 (GMT)
committerGitHub <noreply@github.com>2022-04-15 18:57:47 (GMT)
commit5d421d7342fc0d278c129c05bea7028430e94a4e (patch)
treec5bb38c41d86c6289dfcb1f7937f2df07305f4d8 /PC
parentc06a4ffe818feddef3b5083d9746a1c0b82c84ab (diff)
downloadcpython-5d421d7342fc0d278c129c05bea7028430e94a4e.zip
cpython-5d421d7342fc0d278c129c05bea7028430e94a4e.tar.gz
cpython-5d421d7342fc0d278c129c05bea7028430e94a4e.tar.bz2
gh-90501: Add PyErr_GetHandledException and PyErr_SetHandledException (GH-30531)
Diffstat (limited to 'PC')
-rwxr-xr-xPC/python3dll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 70f11dc..0aee2ae 100755
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -196,6 +196,7 @@ EXPORT_FUNC(PyErr_Fetch)
EXPORT_FUNC(PyErr_Format)
EXPORT_FUNC(PyErr_FormatV)
EXPORT_FUNC(PyErr_GetExcInfo)
+EXPORT_FUNC(PyErr_GetHandledException)
EXPORT_FUNC(PyErr_GivenExceptionMatches)
EXPORT_FUNC(PyErr_NewException)
EXPORT_FUNC(PyErr_NewExceptionWithDoc)
@@ -218,6 +219,7 @@ EXPORT_FUNC(PyErr_SetFromErrnoWithFilenameObject)
EXPORT_FUNC(PyErr_SetFromErrnoWithFilenameObjects)
EXPORT_FUNC(PyErr_SetFromWindowsErr)
EXPORT_FUNC(PyErr_SetFromWindowsErrWithFilename)
+EXPORT_FUNC(PyErr_SetHandledException)
EXPORT_FUNC(PyErr_SetImportError)
EXPORT_FUNC(PyErr_SetImportErrorSubclass)
EXPORT_FUNC(PyErr_SetInterrupt)