python-wrapt

Edit Package python-wrapt
No description set
Refresh
Refresh
Source Files
Filename Size Changed
1.12.0.tar.gz 0000126524 124 KB
python-wrapt.changes 0000002725 2.66 KB
python-wrapt.spec 0000002667 2.6 KB
Revision 9 (latest revision is 19)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 783021 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- 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.
Comments 0
openSUSE Build Service is sponsored by