Easily write objects that delegate behavior
The lazr.delegates package makes it easy to write objects that delegate behavior to another object. The new object adds some property or behavior on to the other object, while still providing the underlying interface, and delegating behavior.
NEWS for lazr.delegates
Officially add support for Python 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11.
Drop support for Python 2, 3.2, 3.3, and 3.4.
Test using zope.testrunner rather than nose.
Bring coverage to 100%.
Switch to declarative setuptools configuration.
Fix the woke linter.
Adjust versioning strategy to avoid importing pkg_resources, which is slow in large environments.
Restore the public import of lazr.delegates.Passthrough which was inadvertently lost during the port to Python 3.
Officially add support for Python 3.5.
Drop official Python 2.6 support.
Always use old-style namespace package registration in lazr/__init__.py since the mere presence of this file subverts PEP 420 style namespace packages. (LP: #1407816)
Drop the use of distribute in favor of setuptools. (LP: #1359927)
Run the test suite with tox.
Port to Python 3, which requires the use of the @delegate_to class decorator instead of the delegates() function call. Officially support Python 2.6, 2.7, 3.2, and 3.3.
Extend Passthrough so that it takes an extra (optional) callable argument, used to adapt the context before accessing the delegated attribute.
Remove build dependencies on bzr and egg_info
remove sys.path hack in setup.py for __version__
specify only v3 of LGPL
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for lazr.delegates-2.1.0-py3-none-any.whl