This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Implement ExceptionGroup __new__
Type: behavior Stage: resolved
Components: Versions: Python 3.11
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: iritkatriel Nosy List: gvanrossum, iritkatriel, yselivanov
Priority: normal Keywords:

Created on 2021-12-22 18:42 by iritkatriel, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg409047 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-12-22 18:42
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.
msg409049 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-12-22 18:48
False alarm, this is already as it should be. Me needs a couple of weeks offline is all it is.
History
Date User Action Args
2022-04-11 14:59:53adminsetgithub: 90313
2021-12-22 18:48:31iritkatrielsetstatus: open -> closed
resolution: not a bug
messages: + msg409049

stage: resolved
2021-12-22 18:42:14iritkatrielsetassignee: iritkatriel
2021-12-22 18:42:01iritkatrielcreate