Releases: agronholm/exceptiongroup
Releases · agronholm/exceptiongroup
1.2.2
1.2.1
- Updated the copying of
__notes__
to match CPython behavior (PR by CF Bolz-Tereick) - Corrected the type annotation of the exception handler callback to accept a
BaseExceptionGroup
instead ofBaseException
- Fixed type errors on Python < 3.10 and the type annotation of
suppress()
(PR by John Litborn)
1.2.0
- Added special monkeypatching if Apport has overridden
sys.excepthook
so it will format exception groups correctly (PR by John Litborn) - Added a backport of
contextlib.suppress()
from Python 3.12.1 which also handles suppressing exceptions inside exception groups - Fixed bare
raise
in a handler reraising the original naked exception rather than an exception group which is what is raised when you do araise
in anexcept*
handler