New submission from Irit Katriel <iritkatr...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue46155> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com