25 Feb 2021 25 Feb '21
On Thu, Feb 25, 2021 at 9:06 PM Guido van Rossum email@example.com 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.