Revisions of python-exceptiongroup
Ana Guerrero (anag+factory)
accepted
request 1169658
from
Daniel Garcia (dgarcia)
(revision 8)
- Fix tests with python 3.12.3, bsc#1223128 - update to 1.2.1: * Updated the copying of __notes__ to match CPython behavior * Corrected the type annotation of the exception handler callback to accept a BaseExceptionGroup instead of BaseException * Fixed type errors on Python < 3.10 and the type annotation of suppress()
Ana Guerrero (anag+factory)
accepted
request 1129176
from
Dirk Mueller (dirkmueller)
(revision 7)
- update to 1.2.0: * Added special monkeypatching if `Apport <https://github.com/canonical/apport>`_ has overridden ``sys.excepthook`` so it will format exception groups correctly * 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 a ``raise`` in an ``except*`` handler * ``catch()`` now raises a ``TypeError`` if passed an async exception handler instead of just giving a ``RuntimeWarning`` about the coroutine never being awaited. * 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 - drop skip-test_catch_handler_raises-for-older-311.patch (upstream) - Add skip-test_catch_handler_raises-for-older-311.patch
Fabian Vogt (favogt_factory)
accepted
request 1096944
from
Matej Cepl (mcepl)
(revision 6)
- Update to 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 gh#python/cpython#103590. - Add skip-test_catch_handler_raises-for-older-311.patch (gh#agronholm/exceptiongroup#64).
Dominique Leuenberger (dimstar_suse)
accepted
request 1081932
from
Dirk Mueller (dirkmueller)
(revision 5)
Dominique Leuenberger (dimstar_suse)
accepted
request 1071876
from
Dirk Mueller (dirkmueller)
(revision 4)
- update to 1.1.1: * Worked around `CPython issue #98778 ``urllib.error.HTTPError(..., fp=None)`` raises ``KeyError`` on unknown attribute access, on affected Python versions.
Dominique Leuenberger (dimstar_suse)
accepted
request 1045050
from
Dirk Mueller (dirkmueller)
(revision 3)
Dominique Leuenberger (dimstar_suse)
accepted
request 1009421
from
Markéta Machová (mcalabkova)
(revision 1)
Pre-release version required by hypothesis
Displaying all 8 revisions