Message408742
With the patch:
>>> e = ExceptionGroup("eg", [ValueError(1), TypeError(2)])
>>> e.__note__ = "a note"
>>> e.split(ValueError)
(ExceptionGroup('eg', [ValueError(1)]), ExceptionGroup('eg', [TypeError(2)]))
>>> e.split(ValueError)[0].__note__
'a note'
>>> e.split(ValueError)[1].__note__
'a note'
>>> e.subgroup(ValueError).__note__
'a note'
>>> |
|
Date |
User |
Action |
Args |
2021-12-16 23:32:49 | iritkatriel | set | recipients:
+ iritkatriel |
2021-12-16 23:32:49 | iritkatriel | set | messageid: <1639697569.7.0.526447928683.issue46107@roundup.psfhosted.org> |
2021-12-16 23:32:49 | iritkatriel | link | issue46107 messages |
2021-12-16 23:32:49 | iritkatriel | create | |
|