Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-exceptiongroup-1.1.2-150400.9.3.9 RPM for noarch

From OpenSuSE Leap 15.6 for noarch

Name: python311-exceptiongroup Distribution: SUSE Linux Enterprise 15
Version: 1.1.2 Vendor: SUSE LLC <https://www.suse.com/>
Release: 150400.9.3.9 Build date: Wed Oct 4 00:07:35 2023
Group: Unspecified Build host: h01-ch4a
Size: 118683 Source RPM: python-exceptiongroup-1.1.2-150400.9.3.9.src.rpm
Packager: https://www.suse.com/
Url: https://github.com/agronholm/exceptiongroup
Summary: 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.

Provides

Requires

License

MIT AND Python-2.0

Changelog

* Tue Jul 04 2023 mcepl@suse.com
  - 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).
* Fri Apr 21 2023 dmueller@suse.com
  - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 mcepl@suse.com
  - Make calling of %{sle15modernpython} optional.
* Tue Mar 14 2023 dmueller@suse.com
  - 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.
* Fri Dec 23 2022 code@bnavigator.de
  - Update to 1.1.0
    * Backported upstream fix for gh-99553 (custom subclasses of
      BaseExceptionGroup that also inherit from Exception should not
      be able to wrap base exceptions)
    * Moved all initialization code to __new__() (thus matching
      Python 3.11 behavior)
  - Fix multibuild
* Mon Dec 19 2022 dmueller@suse.com
  - split tests into multibuild to solve cycle with pytest
* Thu Dec 01 2022 kastl@b1-systems.de
  - update to 1.0.4:
    * Fixed regression introduced in v1.0.3 where the code computing the suggestions would assume that both the obj attribute of AttributeError is always available, even though this is only true from Python 3.10 onwards (#43; PR by Carl Friedrich Bolz-Tereick)
  - update to 1.0.3:
    * Fixed monkey patching breaking suggestions (on a NameError or AttributeError) on Python 3.10 (#41; PR by Carl Friedrich Bolz-Tereick)
  - update to 1.0.2:
    * Updated type annotations to match the ones in typeshed
  - update to 1.0.1:
    * Fixed formatted traceback missing exceptions beyond 2 nesting levels of __context__ or __cause__
  - update to 1.0.0:
    * Fixed AttributeError: 'PatchedTracebackException' object has no attribute '__cause__' on Python 3.10 (only) when a traceback is printed from an exception where an exception group is set as the cause (#33)
    * Fixed a loop in exception groups being rendered incorrectly (#35)
    * Fixed the patched formatting functions (format_exception()``etc.) not passing the ``compact=True flag on Python 3.10 like the original functions do
* Wed Oct 26 2022 mcepl@suse.com
  - The package actually builds with Python 3.11.
* Sun Oct 09 2022 code@bnavigator.de
  - Initial specfile for v 1.0.0rc9
  - Pre-release version required by hypothesis

Files

/usr/lib/python3.11/site-packages/exceptiongroup
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/LICENSE
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/METADATA
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/RECORD
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/exceptiongroup-1.1.2.dist-info/WHEEL
/usr/lib/python3.11/site-packages/exceptiongroup/__init__.py
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_catch.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_catch.cpython-311.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_exceptions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_exceptions.cpython-311.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_formatting.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_formatting.cpython-311.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_version.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/__pycache__/_version.cpython-311.pyc
/usr/lib/python3.11/site-packages/exceptiongroup/_catch.py
/usr/lib/python3.11/site-packages/exceptiongroup/_exceptions.py
/usr/lib/python3.11/site-packages/exceptiongroup/_formatting.py
/usr/lib/python3.11/site-packages/exceptiongroup/_version.py
/usr/lib/python3.11/site-packages/exceptiongroup/py.typed
/usr/share/doc/packages/python311-exceptiongroup
/usr/share/doc/packages/python311-exceptiongroup/README.rst
/usr/share/licenses/python311-exceptiongroup
/usr/share/licenses/python311-exceptiongroup/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri May 3 23:33:27 2024