python-exceptiongroup

Backport of PEP 654 (exception groups)

This is a backport of the ``BaseExceptionGroup`` and ``ExceptionGroup`` classes from Python 3.11. It contains the following: * The ``exceptiongroup.BaseExceptionGroup`` and ``exceptiongroup.ExceptionGroup`` classes * A utility function (``exceptiongroup.catch()``) for catching exceptions possibly nested in an exception group * Patches to the ``TracebackException`` class that properly formats exception groups (installed on import) * An exception hook that handles formatting of exception groups through ``TracebackException`` (installed on import) * Special versions of some of the functions from the ``traceback`` module, modified to correctly handle exception groups even when monkey patching is disabled, or blocked by another custom exception hook: * ``traceback.format_exception()`` * ``traceback.format_exception_only()`` * ``traceback.print_exception()`` * ``traceback.print_exc()`` If this package is imported on Python 3.11 or later, the built-in implementations of the exception group classes are used instead, ``TracebackException`` is not monkey patched and the exception hook won't be installed.

There is no official package available for openSUSE Leap 16.0

التوزيعات

openSUSE Tumbleweed

openSUSE Slowroll

home:cabelo:jax المجتمع
1.3.0

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

SUSE SLE-16 (in development)

Fedora Rawhide (unstable)

home:alvistack المجتمع
1.3.1

Fedora 43

home:alvistack المجتمع
1.3.1

Fedora 42

home:alvistack المجتمع
1.3.1

Fedora 41

home:alvistack المجتمع
1.3.1

توزيعات غير مدعومة

التوزيعات التالية غير معتمدة رسميًا. استخدم هذه الحزم على مسؤوليتك الخاصة.