The same question came up in the thread that Anders linked, and I believe @storchaka’s answer would still apply. Might need a bit of extra care to also display all exceptions that remain in the eg
, but that should pretty much boil down to also adding the repr of eg.reraise_remaining()
.