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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
6
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-zope.hookable && cd $_
- Create Badge
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 |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1218873
from
Dirk Mueller (dirkmueller)
(revision 19)
- 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