mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +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
|
@ -2114,7 +2114,7 @@ dummy_func(
|
|||
|
||||
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);
|
||||
DECREF_INPUTS();
|
||||
ERROR_IF(res < 0, error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue