NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #142 most downloaded on PyPI
Backport of PEP 654 (exception groups)
Latest stable
1.3.2
Last release 2 days ago
19 Nov 2026
Release timing varies
gaps range from 9 days to 12 months
Most releases are documented
notes for 11 of 15 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
25 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Fixed the repr() of exception groups being affected by mutation of the original exception sequence after construction
repr() of exception groups being affected by mutation of the original exception sequence after construction (#154)catch() overwriting earlier handlers when distinct mapping keys normalize to the same exception types (#164)catch() flattening exception groups raised by handlers when they were not the original matched group. Such groups are now propagated as-is, like with native except*, so code that previously received the bare exception(s) from such a group will now receive the exception group itself (#157)catch() overwriting the __cause__ and __context__ of exceptions propagating out of it, to match native except*. Exceptions raised by handlers now keep the chaining they were raised with (e.g. raise ... from None) instead of inheriting the original group's __cause__, and re-raised exceptions now keep the original group's __context__ (#157)catch() dropping exceptions that no handler matched when a handler raises an exception. Such exceptions are now propagated along with the handler's exception, like with native except*, so code that previously received only the handler's exception will now receive an exception group containing both (#161)subgroup() method returning the original group rather than a newly derived group when all the nested exceptions matched the conditioncatch() overwriting handler exception chaining when the original exception is not an exception group (#167)subgroup() and split() taking any class as the condition, so subgroup(bool) matched every exception instead of raising TypeError the way native exception groups do (#170)EXCEPTIONGROUP_NO_PATCH=1 not preventing the monkey patching on Python < 3.11 (#171)subgroup() and split() not checking the return value of derive(), so a subclass with a broken override made them raise AttributeError or return something that wasn't an exception group at all. They now raise TypeError, like native exception groups do (#169)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed AttributeError: 'TracebackException' object has no attribute 'exceptions' when formatting unpickled TBEs from another Python process which did n
AttributeError: 'TracebackException' object has no attribute 'exceptions' when formatting unpickled TBEs from another Python process which did not apply the exceptiongroup patches (#144)Added kwargs to function and method signatures as appropriate to match the signatures in the standard library
**kwargs to function and method signatures as appropriate to match the signatures in the standard library(Base)ExceptionGroup generic types to define defaults for their generic arguments (defaulting to BaseExceptionGroup[BaseException] and ExceptionGroup[Exception]) (PR by @mikenerone)BaseExceptionGroup.__init__() to directly call BaseException.__init__() instead of the superclass __init__() in order to emulate the CPython behavior (broken or not) (PR by @cfbolz)exceptions attribute to always return the same tuple of exceptions, created from the original exceptions sequence passed to BaseExceptionGroup to match CPython behavior (#143)Removed an assert in exceptiongroup._formatting that caused compatibility issues with Sentry
assert in exceptiongroup._formatting that caused compatibility issues with Sentry (#123)Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
__notes__ to match CPython behavior (PR by CF Bolz-Tereick)BaseExceptionGroup instead of BaseExceptionsuppress() (PR by John Litborn)Added special monkeypatching if Apport has overridden sys.excepthook so it will format exception groups correctly (PR by John Litborn)
sys.excepthook so it will format exception groups correctly (PR by John Litborn)contextlib.suppress() from Python 3.12.1 which also handles suppressing exceptions inside exception groupsraise in a handler reraising the original naked exception rather than an exception group which is what is raised when you do a raise in an except* handlerAdded the release version
Added the release version
Added the release version
Added the release version
Added the release version
Added the release version
Added the release version
Added the release version
Added the release version
Added the release version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.