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 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a91e2f31d71c2fcaaa1dc116ce37901aad18a554cdcc69db1dca0743d790ba72
|
||||
size 124874
|
3
1.12.0.tar.gz
Normal file
3
1.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20c59b776f3f540fb182930b0f32657f459d5e431577d1345cedeed5f046dd63
|
||||
size 126524
|
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wrapt
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-wrapt
|
||||
Version: 1.11.2
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: A Python module for decorators, wrappers and monkey patching
|
||||
License: BSD-2-Clause
|
||||
|
Reference in New Issue
Block a user