* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=50
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=48
- update to version 4.3.2
* now the decorator module can decorate generator functions by
preserving their being generator functions
* Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'` in setup.py
- update to version 4.3.1
* Added a section "For the impatient" to the README, addressing
an issue raised by Amir Malekpour.
* Added support for Python 3.7.
* Now the path to the decorator module appears in the
tracebacks, as suggested by a user at EuroPython 2018.
OBS-URL: https://build.opensuse.org/request/show/674686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=40
- update to 4.1.2:
* Made it possible to define decorators converting coroutines into regular
functions.
* Changed the documentation build system to sphinx and uploaded the docs
on readthedocs.org.
* Support for Python 3.5 coroutines defined with `async def`, thanks to
Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
giving the right answer for coroutines decorated with the decorator module.
OBS-URL: https://build.opensuse.org/request/show/515732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=31