mirror of
https://github.com/python/cpython.git
synced 2026-04-16 16:51:15 +00:00
[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:
parent
2c3e3ef6a2
commit
d768900ca4
5 changed files with 158 additions and 14 deletions
|
|
@ -18,6 +18,7 @@ typedef struct {
|
|||
PyException_HEAD
|
||||
PyObject *msg;
|
||||
PyObject *excs;
|
||||
PyObject *excs_str;
|
||||
} PyBaseExceptionGroupObject;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue