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
_multibuild 0000000053 53 Bytes
python-zope.hookable.changes 0000005065 4.95 KB
python-zope.hookable.spec 0000003328 3.25 KB
zope_hookable-7.0.tar.gz 0000021392 20.9 KB
Revision 36 (latest revision is 37)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 36)
- update to 7.0:
  * C extension now enables multi-phase module initialization
    (PEP 489). For CPython >= 3.11, the hookable type is now a
    heap-allocated type.  See:
    https://docs.python.org/3.13/howto/isolating-extensions.html
  * Drop support for Python 3.7.
  * Add support for Python 3.13.
  * Build windows wheels on GHA.
Comments 0
openSUSE Build Service is sponsored by