Zope hookable

Edit Package python-zope.hookable

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.

Refresh
Refresh
Source Files
Filename Size Changed
python-zope.hookable.changes 0000001231 1.2 KB
python-zope.hookable.spec 0000002851 2.78 KB
zope.hookable-4.2.0.tar.gz 0000022011 21.5 KB
Revision 7 (latest revision is 35)
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 691699 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 7)
- update to version 4.2.0
  * Add support for Python 3.5 and 3.6.
  * Drop support for Python 2.6, 3.2 and 3.3.
  * Expose the __doc__ (and, where applicable, __bases__ and __dict__) 
    of the hooked object. This lets Sphinx document them.
  * Respect PURE_PYTHON at runtime.
Comments 0
openSUSE Build Service is sponsored by