61e6bedf53
- Update to 1.3.1 * Fixed AttributeError: 'TracebackException' object has no attribute 'exceptions' when formatting unpickled TBEs from another Python process which did not apply the exceptiongroup patches (#144) - Drop upstreamed patch py314.patch
Daniel Garcia2026-02-18 07:40:07 +00:00
7365ce1cfc
Accepting request 1303587 from devel:languages:python
Ana Guerrero2025-09-11 12:38:13 +00:00
b02c8388ca
Accepting request 1303226 from home:mcalabkova:branches:devel:languages:python
Dirk Mueller2025-09-10 09:15:34 +00:00
572efa6ac7
- Update to 1.2.2 * Removed an `assert in exceptiongroup._formatting` that caused compatibility issues with Sentry (#123)
Markéta Machová2024-07-26 13:29:04 +00:00
1c62c3b2d8
Accepting request 1189765 from home:glaubitz:branches:devel:languages:python
Markéta Machová2024-07-26 13:29:04 +00:00
d464606f62
Accepting request 1169658 from devel:languages:python
Ana Guerrero2024-04-23 16:55:09 +00:00
5aaeab2146
Accepting request 1169658 from devel:languages:python
Ana Guerrero2024-04-23 16:55:09 +00:00
044c974452
- 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()
Dirk Mueller2024-04-20 14:09:00 +00:00
862721bd6c
- 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()
Dirk Mueller2024-04-20 14:09:00 +00:00
ed81958f82
Accepting request 1129176 from devel:languages:python
Ana Guerrero2023-11-28 21:18:26 +00:00
cf5b5653e2
Accepting request 1129176 from devel:languages:python
Ana Guerrero2023-11-28 21:18:26 +00:00
cc196127b8
- 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
Dirk Mueller2023-11-27 15:45:13 +00:00
16f126540e
- 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
Dirk Mueller2023-11-27 15:45:13 +00:00
26b832b505
Accepting request 1096944 from devel:languages:python
Fabian Vogt2023-07-06 16:27:49 +00:00
ad4af8f683
Accepting request 1096944 from devel:languages:python
Fabian Vogt2023-07-06 16:27:49 +00:00
1b0987a52d
- Add skip-test_catch_handler_raises-for-older-311.patch
Matej Cepl2023-07-05 10:24:03 +00:00
c2669037b2
- Add skip-test_catch_handler_raises-for-older-311.patch
Matej Cepl2023-07-05 10:24:03 +00:00
1c894e8e0f
- Skip still failing test_catch_handler_raises (gh#agronholm/exceptiongroup#64).
Matej Cepl2023-07-05 05:29:00 +00:00
0d41613b5d
- Skip still failing test_catch_handler_raises (gh#agronholm/exceptiongroup#64).
Matej Cepl2023-07-05 05:29:00 +00:00
75be636421
- Add 64_handl_embed_excep.patch fixing gh#agronholm/exceptiongroup#64.
Matej Cepl2023-07-04 23:39:40 +00:00
283576357f
- Add 64_handl_embed_excep.patch fixing gh#agronholm/exceptiongroup#64.
Matej Cepl2023-07-04 23:39:40 +00:00
48c7731673
- 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.
Matej Cepl2023-07-04 22:34:59 +00:00
63dbedfae7
- 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.
Matej Cepl2023-07-04 22:34:59 +00:00