[issue46729] Better str() for BaseExceptionGroup

Guido van Rossum report at bugs.python.org
Sat Feb 12 12:52:50 EST 2022


Guido van Rossum <guido at python.org> added the comment:

Should it show the number of immediate subexceptions (i.e., len(eg.exceptions)) or the number of leaf exceptions? I'd be happy with the former (since that's what EdgeDb's MultiError does), which would not require adding an extra field to the base exception group struct.

----------
nosy: +gvanrossum, yselivanov

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46729>
_______________________________________


More information about the Python-bugs-list mailing list