[New-bugs-announce] [issue46155] Implement ExceptionGroup __new__

Irit Katriel report at bugs.python.org
Wed Dec 22 13:42:01 EST 2021


New submission from Irit Katriel <iritkatriel at gmail.com>:

Currently ExceptionGroup inherits __new__ from BaseExceptionGroup, it should have its own __new__ implementation which raises a TypeError if any contained exception is not an Exception subclass.

----------
messages: 409047
nosy: gvanrossum, iritkatriel, yselivanov
priority: normal
severity: normal
status: open
title: Implement ExceptionGroup __new__
type: behavior
versions: Python 3.11

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


More information about the New-bugs-announce mailing list