1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/py-exceptiongroup
Po-Chuan Hsieh 989a4b1096
devel/py-exceptiongroup: Add py-exceptiongroup 1.0.0rc8
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)

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.

WWW: https://github.com/agronholm/exceptiongroup
2022-06-17 03:30:52 +08:00
..
files
distinfo
Makefile
pkg-descr