This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
1.1.3
catch() now raises a TypeError if passed an async exception handler instead of
just giving a RuntimeWarning about the coroutine never being awaited. (#66, PR by
John Litborn)
Fixed plain raise statement in an exception handler callback to work like a
raise in an except* block
Fixed new exception group not being chained to the original exception when raising an
exception group from exceptions raised in handler callbacks
Fixed type annotations of the derive(), subgroup() and split() methods to
match the ones in typeshed
1.1.2
Changed handling of exceptions in exception group handler callbacks to not wrap a
single exception in an exception group, as per
CPython issue 103590 <https://github.com/python/cpython/issues/103590>_
1.1.1
Worked around
CPython issue [#98778](https://github.com/agronholm/exceptiongroup/issues/98778) <https://github.com/python/cpython/issues/98778>_,
urllib.error.HTTPError(..., fp=None) raises KeyError on unknown attribute
access, on affected Python versions. (PR by Zac Hatfield-Dodds)
1.1.0
Backported upstream fix for gh-99553 (custom subclasses of BaseExceptionGroup that
also inherit from Exception should not be able to wrap base exceptions)
Moved all initialization code to __new__() (thus matching Python 3.11 behavior)
1.0.4
Fixed regression introduced in v1.0.3 where the code computing the suggestions would
assume that both the obj attribute of AttributeError is always available, even
though this is only true from Python 3.10 onwards
(#43; PR by Carl Friedrich Bolz-Tereick)
1.0.3
Fixed monkey patching breaking suggestions (on a NameError or AttributeError)
on Python 3.10 (#41; PR by Carl Friedrich Bolz-Tereick)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps exceptiongroup from 1.1.1 to 1.1.3.
Changelog
Sourced from exceptiongroup's changelog.
... (truncated)
Commits
31d77ff
Added the release version516ade1
Updated type annotations to match typeshed (#77)8b8791b
Fixed bareraise
and exception chaining when a handler raises an exception ...0c94abe
[pre-commit.ci] pre-commit autoupdate (#75)0878b83
[pre-commit.ci] pre-commit autoupdate (#74)fc578bc
Switched to trusted publishing4640be7
[pre-commit.ci] pre-commit autoupdate (#73)14bf3ed
Fixed erroneous TypeError in test_async_handler()c971039
[pre-commit.ci] pre-commit autoupdate (#72)1d604fb
Made catch() raise TypeError on async handler (#69)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show