diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2025-01-25 13:00:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 13:00:23 +0000 |
commit | c39ae8922bad3e5ceeafa05891536c1584b6f3db (patch) | |
tree | 04eb746a11e49b7e2da5fc9992bffc0b0e39cbfb /Python/bytecodes.c | |
parent | 9e52e553f4a906c120f807e940891f7325011b67 (diff) | |
download | cpython-c39ae8922bad3e5ceeafa05891536c1584b6f3db.tar.gz cpython-c39ae8922bad3e5ceeafa05891536c1584b6f3db.zip |
gh-128799: Add frame of except* to traceback when wrapping a naked exception (#128971)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index b70ed7f4d10..12aae969340 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -2717,7 +2717,7 @@ dummy_func( PyObject *match_o = NULL; PyObject *rest_o = NULL; - int res = _PyEval_ExceptionGroupMatch(exc_value, match_type, + int res = _PyEval_ExceptionGroupMatch(frame, exc_value, match_type, &match_o, &rest_o); DECREF_INPUTS(); ERROR_IF(res < 0, error); |