15
0

- update to 1.6.0:

* Added support for async special methods (``__aiter__``, ``__anext__``,
    ``__await__``, ``__aenter__``, ``__aexit__``).
    These are used in the ``async for``, ``await` and ``async with`` statements.
    Note that ``__await__`` returns a wrapper that tries to emulate the crazy
    stuff going on in the ceval loop, so there will be a small performance overhead.
  * Added the ``__resolved__`` property. You can use it to check if the factory has
    been called.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=19
This commit is contained in:
2021-07-31 15:59:01 +00:00
committed by Git OBS Bridge
parent 12ce53d653
commit 750a122386
4 changed files with 18 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5944a9b95e97de1980c65f03b79b356f30a43de48682b8bdd90aa5089f0ec1f4
size 36608

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:489000d368377571c6f982fba6497f2aa13c6d1facc40660963da62f5c379726
size 44494

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jul 31 15:58:37 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.6.0:
* Added support for async special methods (``__aiter__``, ``__anext__``,
``__await__``, ``__aenter__``, ``__aexit__``).
These are used in the ``async for``, ``await` and ``async with`` statements.
Note that ``__await__`` returns a wrapper that tries to emulate the crazy
stuff going on in the ceval loop, so there will be a small performance overhead.
* Added the ``__resolved__`` property. You can use it to check if the factory has
been called.
-------------------------------------------------------------------
Fri Feb 26 08:46:31 UTC 2021 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-lazy-object-proxy
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -27,7 +27,7 @@
%bcond_with test
%endif
Name: python-lazy-object-proxy%{psuffix}
Version: 1.5.2
Version: 1.6.0
Release: 0
Summary: Rebuild a new abstract syntax tree from Python's ast
License: BSD-2-Clause