Easily write objects that delegate behavior
Project description
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
2.1.0 (2023-03-20)
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.
Add linters.
Fix the woke linter.
2.0.4 (2017-10-20)
Adjust versioning strategy to avoid importing pkg_resources, which is slow in large environments.
2.0.3 (2015-07-08)
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.
2.0.2 (2015-01-05)
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)
2.0.1 (2014-08-21)
Drop the use of distribute in favor of setuptools. (LP: #1359927)
Run the test suite with tox.
2.0 (2013-01-10)
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.
1.2.0 (2010-07-16)
Extend Passthrough so that it takes an extra (optional) callable argument, used to adapt the context before accessing the delegated attribute.
1.1.0 (2009-08-31)
Remove build dependencies on bzr and egg_info
remove sys.path hack in setup.py for __version__
1.0.1 (2009-03-24)
specify only v3 of LGPL
build/developer improvements
1.0 (2008-12-19)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lazr.delegates-2.1.0.tar.gz
.
File metadata
- Download URL: lazr.delegates-2.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d4fb8872b952e57a48e12610e550fa3066eeb57c6c6c75b6a5142418bac19c |
|
MD5 | 8080ba741cabf911a0fd2bbf573a104c |
|
BLAKE2b-256 | d44ed9cd054b93aaf0585a21a9e201840db7c0eabc43fa326d7ce6986e5b691a |
File details
Details for the file lazr.delegates-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: lazr.delegates-2.1.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad98f21a15bbcaf4af4152a0efd1e78c374aec3e25beecfa92a8b47025d485d |
|
MD5 | 5502f4e55c6ad033ee1833de599c7c79 |
|
BLAKE2b-256 | ecbf932e030f1c1322a1f27e935deca0a89a419ea0c68794416ff526c8330a23 |