forked from pool/python-wrapt
- update to 1.12.0:
* Provided that you only want to support Python 3.7, when deriving from a base class which has a decorator applied to it, you no longer need to access the true type of the base class using ``__wrapped__`` in the inherited class list of the derived class. * When using the ``synchronized`` decorator on instance methods of a class, if the class declared special methods to override the result for when the class instance was tested as a boolean so that it returned ``False`` all the time, the synchronized method would fail when called. * When using an adapter function to change the signature of the decorated function, ``inspect.signature()`` was returning the wrong signature when an instance method was inspected by accessing the method via the class type. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 16:25:43 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 1.12.0:
|
||||
* Provided that you only want to support Python 3.7, when deriving from
|
||||
a base class which has a decorator applied to it, you no longer need
|
||||
to access the true type of the base class using ``__wrapped__`` in
|
||||
the inherited class list of the derived class.
|
||||
* When using the ``synchronized`` decorator on instance methods of a
|
||||
class, if the class declared special methods to override the result for
|
||||
when the class instance was tested as a boolean so that it returned
|
||||
``False`` all the time, the synchronized method would fail when called.
|
||||
* When using an adapter function to change the signature of the decorated
|
||||
function, ``inspect.signature()`` was returning the wrong signature
|
||||
when an instance method was inspected by accessing the method via the
|
||||
class type.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 11:37:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user