mirror of
https://github.com/python/cpython.git
synced 2025-09-02 15:07:53 +00:00
[3.12] gh-128799: Add frame of except* to traceback when wrapping a naked exception (GH-128971) (#129328)
This commit is contained in:
parent
ddb314f598
commit
d2f551db12
5 changed files with 40 additions and 3 deletions
2
Python/generated_cases.c.h
generated
2
Python/generated_cases.c.h
generated
|
@ -2952,7 +2952,7 @@
|
|||
|
||||
match = NULL;
|
||||
rest = NULL;
|
||||
int res = exception_group_match(exc_value, match_type,
|
||||
int res = exception_group_match(frame, exc_value, match_type,
|
||||
&match, &rest);
|
||||
#line 2958 "Python/generated_cases.c.h"
|
||||
Py_DECREF(exc_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue