Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python313-decorator | Distribution: openSUSE:Factory:zSystems |
Version: 5.2.1 | Vendor: openSUSE |
Release: 1.1 | Build date: Tue May 20 11:26:46 2025 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 83070 | Source RPM: python-decorator-5.2.1-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/micheles/decorator | |
Summary: Decorators for Humans |
Typical implementations of Python decorators involve nested functions, and do not preserve the signature of decorated functions, thus can be confusing to both developers and documentation tools. This module changes the usage of decorators for the average programmer so as to make decorators such as memoize, tracing, redirecting_stdout, locked, etc. more accessible.
BSD-2-Clause
* Tue May 20 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> - Update to 5.2.1 * Updated CHANGES.md * Update Makefile [ci skip] * Include tests and documentation in sdist * Managed functions without __name__ - from version 5.2.0 * Replace deprecated logging.warn with logging.warning * Add support for Python 3.11 * Update download links * Fix codespell errors * Add support for decorative partial functions * Replace 'bytecode' by 'binary' in LICENSE.txt to align with BSD-2-Clause * Add support for Python 3.12 * Stop testing EOL Python 3.5 and 3.6 due to CI unavailability * Requiring Python >= 3.7 * Dropped support for Python <= 3.6 * Use SPDX license identifier * Add support for Python 3.13 * codespell: assertIn is not a typo * Testing only Python >= 3.8 * Using asyncio.run * Replaced setup.py with pyproject * Updated copyright * Moved tests outside of src - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section * Fri Apr 21 2023 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 Matej Cepl <mcepl@suse.com> - Make calling of %{sle15modernpython} optional. * Mon Jan 10 2022 Dirk Müller <dmueller@suse.com> - update to 5.1.1: * cythonized functions can now be decorated. * fixed an issue in the `decorator_apply` example and * regression fix for the "fix" in version 5.1 broke ` decorator.contextmanager` even more. Both issues are now solved. * Sat Oct 16 2021 Dirk Müller <dmueller@suse.com> - update to 5.1.0: * Added a function `decoratorx` using the `FunctionMaker` and thus preserving the signature of `__code__` objects. * Sphinx was printing a few warnings when building the documentation * functions decorated with `decorator.contextmanager` were one-shot, as discovered by Alex Pizarro. * `decorator.decorator` was not passing the kwsyntax argument. - drop kwsyntax.patch (usptream) * Thu Aug 05 2021 Markéta Machová <mmachova@suse.com> - Add upstream patch kwsyntax.patch * Tue Jul 27 2021 Dirk Müller <dmueller@suse.com> - update to 5.0.9: * Fixed a test breaking PyPy. Restored support for Sphinx. * Made the decorator module more robust when decorating builtin functions lacking dunder attributes, like `dict.__setitem__`. * The decorator module was not passing correctly the defaults inside the `*args` tuple, thanks to Dan Shult for the fix. * The decorator module was not copying the __module__ attribute anymore. * Dropped support for Python < 3.5 with a substantial simplification of the code base (now building a decorator does not require calling "exec"). Added a way to mimic functools.wraps-generated decorators. * Sat Mar 14 2020 Dirk Mueller <dmueller@suse.com> - update to 4.4.2: * removing the usage of `__file__`, that was breaking PyOxidizer. * fixes for the future Python 3.9. * some fixes for the future Python 3.10. * Fri Dec 20 2019 Dirk Mueller <dmueller@suse.com> - update to 4.4.1: Changed the description to "Decorators for Humans" are requested by several users. Fixed a .rst bug in the description as seen in PyPI. * Tue Mar 19 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 4.4.0: * Fixed a regression with decorator factories breaking the case with no arguments by going back to the syntax used in version 4.2.
/usr/lib/python3.13/site-packages/__pycache__/decorator.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/__pycache__/decorator.cpython-313.pyc /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/INSTALLER /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/METADATA /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/RECORD /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/REQUESTED /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/WHEEL /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/licenses /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/licenses/LICENSE.txt /usr/lib/python3.13/site-packages/decorator-5.2.1.dist-info/top_level.txt /usr/lib/python3.13/site-packages/decorator.py /usr/share/doc/packages/python313-decorator /usr/share/doc/packages/python313-decorator/CHANGES.md /usr/share/doc/packages/python313-decorator/README.rst /usr/share/licenses/python313-decorator /usr/share/licenses/python313-decorator/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jun 5 01:26:59 2025