[3.13] gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) (#142391)

* [3.13] gh-141732: Fix `ExceptionGroup` repr changing when original exception sequence is mutated (GH-141736)
(cherry picked from commit ff2577f56e)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
This commit is contained in:
dr-carlos 2025-12-09 05:16:55 +10:30 committed by GitHub
parent 2c3e3ef6a2
commit d768900ca4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 158 additions and 14 deletions

View file

@ -18,6 +18,7 @@ typedef struct {
PyException_HEAD
PyObject *msg;
PyObject *excs;
PyObject *excs_str;
} PyBaseExceptionGroupObject;
typedef struct {