Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazr.delegates-2.1.0.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

lazr.delegates-2.1.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page