Skip to main content

Zope hookable

Project description

Overview

Hookable object support.

Support the efficient creation of hookable objects, which are callable objects that are meant to be replaced by other callables, at least optionally.

The idea is you create a function that does some default thing and make it hookable. Later, someone can modify what it does by calling its sethook method and changing its implementation. All users of the function, including those that imported it, will see the change.

Changes

4.0.1 (2012-11-21)

4.0.0 (2012-06-04)

  • Added support for PyPy.

  • Added support for continuous integration using tox and jenkins.

  • Added a pure-Python reference implementation.

  • Doctests moved to Sphinx documentation.

  • 100% unit test coverage.

  • Added ‘setup.py docs’ alias (installs Sphinx and dependencies).

  • Added ‘setup.py dev’ alias (runs setup.py develop plus installs nose and coverage).

  • Dropped support for Python 2.4 / 2.5.

  • Removed use of ‘zope.testing.doctestunit’ in favor of stdlib’s ‘doctest.

  • Added Python 3 support.

3.4.1 (2009-04-05)

  • Updated tests for compatibility with Python 2.6 traceback formats.

  • Use Jython-compatible bootstrap.py.

3.4.0 (2007-07-20)

  • Initial release as a separate project.

Download files

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

Source Distribution

zope.hookable-4.0.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distributions

zope.hookable-4.0.1.win-amd64-py2.7.exe (237.2 kB view hashes)

Uploaded Source

zope.hookable-4.0.1.win-amd64-py2.6.exe (237.2 kB view hashes)

Uploaded Source

zope.hookable-4.0.1.win32-py2.7.exe (209.8 kB view hashes)

Uploaded Source

zope.hookable-4.0.1.win32-py2.6.exe (209.8 kB view hashes)

Uploaded Source

zope.hookable-4.0.1-py2.7-win-amd64.egg (14.4 kB view hashes)

Uploaded Source

zope.hookable-4.0.1-py2.7-win32.egg (14.6 kB view hashes)

Uploaded Source

zope.hookable-4.0.1-py2.6-win-amd64.egg (14.4 kB view hashes)

Uploaded Source

zope.hookable-4.0.1-py2.6-win32.egg (14.6 kB view hashes)

Uploaded Source

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