- update to 1.9.0:
* Added support for matrix multiplication operator (``@``).
* Should have all the wheels now (including the manylinux
ones).
* Bumped minimum version requirements for setuptools and
setuptools-scm.
* Switched the default pure python fallback implementation to
the "simple" one (when you ``from lazy_object_proxy import
Proxy`` and the C extension is not available).
Previously the "slots" implementation was used but as it
turns out it is slower on Python 3.
OBS-URL: https://build.opensuse.org/request/show/1085123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lazy-object-proxy?expand=0&rev=16
* Added support for matrix multiplication operator (``@``).
* Should have all the wheels now (including the manylinux
ones).
* Bumped minimum version requirements for setuptools and
setuptools-scm.
* Switched the default pure python fallback implementation to
the "simple" one (when you ``from lazy_object_proxy import
Proxy`` and the C extension is not available).
Previously the "slots" implementation was used but as it
turns out it is slower on Python 3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=29
- update to 1.7.1:
* Removed most of the Python 2 support code and fixed ``python_requires`` to
require at least Python 3.6.
* Note that 1.7.0 has been yanked because it could not install on Python 2.7.
* Switched CI to GitHub Actions, this has a couple consequences:
* Fixed ``__index__`` to fallback to ``int`` if the wrapped object doesn't
have an ``__index__`` method. This prevents situations where code using a
proxy would otherwise likely just call ``int`` had the object not have an
``__index__`` method.
OBS-URL: https://build.opensuse.org/request/show/965084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lazy-object-proxy?expand=0&rev=12
* Removed most of the Python 2 support code and fixed ``python_requires`` to
require at least Python 3.6.
* Note that 1.7.0 has been yanked because it could not install on Python 2.7.
* Switched CI to GitHub Actions, this has a couple consequences:
* Fixed ``__index__`` to fallback to ``int`` if the wrapped object doesn't
have an ``__index__`` method. This prevents situations where code using a
proxy would otherwise likely just call ``int`` had the object not have an
``__index__`` method.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=21
- 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/request/show/909535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lazy-object-proxy?expand=0&rev=10
* 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