Petr Viktorin <encu...@gmail.com> added the comment:

Thanks for looking into it!

> If you don't define derive the superclass constructor is used, which means 
> you get something of type ExceptionGroup, not your subclass.

That might be fine in my case (for a MVP at least). Is there any other danger 
in not overriding it?
I see the docs say "A subclass needs to override it", but it might be better to 
enumerate the perils, or if such a class is unusable, not allow creating it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46431>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to