15
0

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=48
This commit is contained in:
2021-07-27 06:17:07 +00:00
committed by Git OBS Bridge
parent 02062de7c4
commit f1b135ae4b
4 changed files with 20 additions and 5 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jul 27 06:15:15 UTC 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 15:50:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>