summaryrefslogtreecommitdiffstats
path: root/Python/instrumentation.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-08-11 09:58:27 (GMT)
committerGitHub <noreply@github.com>2023-08-11 09:58:27 (GMT)
commitddca26188d7828ecb762213f4b9c15d44b6048cc (patch)
treef672d02823b3e9e0530cd2a201bcf44837aff7d5 /Python/instrumentation.c
parent7853c769067699c79c0d4fe4967e9d8f8b8b0a5e (diff)
downloadcpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.zip
cpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.tar.gz
cpython-ddca26188d7828ecb762213f4b9c15d44b6048cc.tar.bz2
[3.12] GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-107725) (#107802)
GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-107725) (cherry picked from commit 52fbcf61b5a70993c2d32332ff0ad9f369d968d3) Co-authored-by: Mark Shannon <mark@hotpy.org>
Diffstat (limited to 'Python/instrumentation.c')
-rw-r--r--Python/instrumentation.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Python/instrumentation.c b/Python/instrumentation.c
index 05a53d0..8714324 100644
--- a/Python/instrumentation.c
+++ b/Python/instrumentation.c
@@ -1071,16 +1071,6 @@ call_instrumentation_vector_protected(
}
void
-_Py_call_instrumentation_exc0(
- PyThreadState *tstate, int event,
- _PyInterpreterFrame *frame, _Py_CODEUNIT *instr)
-{
- assert(_PyErr_Occurred(tstate));
- PyObject *args[3] = { NULL, NULL, NULL };
- call_instrumentation_vector_protected(tstate, event, frame, instr, 2, args);
-}
-
-void
_Py_call_instrumentation_exc2(
PyThreadState *tstate, int event,
_PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1)