[3.12] gh-128799: Add frame of except* to traceback when wrapping a naked exception (GH-128971) (#129328)

This commit is contained in:
Irit Katriel 2025-01-30 12:02:46 +00:00 committed by GitHub
parent ddb314f598
commit d2f551db12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 40 additions and 3 deletions

View file

@ -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);