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.
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
5
derived packages
- Links to openSUSE:Factory / python-zope.hookable
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Maliku:python/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 |
Revision 36 (latest revision is 37)
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