Feb. 26, 2021
1:46 a.m.
On Thu, Feb 25, 2021 at 9:06 PM Guido van Rossum <guido@python.org> wrote:
Hm, a different idea: maybe it's simple enough that we can just add an example showing how to do this? Then people can tailor that e.g. to use various traversal orders. (We could just link to the code in traceback.py, but it probably is full of distractions.)
I've added it here: https://github.com/python/peps/pull/1841 I'd rather do this for now, and add it to the standard library only when we have a better idea about common patterns // best practices for handling ExceptionGroups.