Backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.
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. See the standard library documentation for more information on exception groups.
acquired package info from repodata DB: repodata/f1f85c23079e7764ad00378a9fc5d660b89a03657290e75426caf7be5b7da462-primary.sqlite.bz2
Interpreter of the Python3 programming language
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces. This package Provides python version 3.