- Added
**kwargs
to function and method signatures as appropriate to match the signatures in the standard library - In line with the stdlib typings in typeshed, updated
(Base)ExceptionGroup
generic types to define defaults for their generic arguments (defaulting toBaseExceptionGroup[BaseException]
andExceptionGroup[Exception]
) (PR by @mikenerone) - Changed
BaseExceptionGroup.__init__()
to directly callBaseException.__init__()
instead of the superclass__init__()
in order to emulate the CPython behavior (broken or not) (PR by @cfbolz) - Changed the
exceptions
attribute to always return the same tuple of exceptions, created from the original exceptions sequence passed toBaseExceptionGroup
to match CPython behavior (#143)