| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Lint the code, improve coverage.
* Bumped version for breaking release.
* Drop support for Python 2.7, 3.5, 3.6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make it possible to use :mod:`zope.component`
- Provide a concise list of all the available APIs in that module and
link them to their in-depth descriptions.
- Fix several xref errors
- Add documentation for setHooks/resetHooks.
This also makes it possible to get useful help at the REPL or command
line:
$ python -c 'import zope.component; help(zope.component.getAdapters)'
Help on function getAdapters in module zope.component._api:
getAdapters(objects, provided, context=None)
Look for all matching adapters to a provided interface for
objects
Return a list of adapters that match. If an adapter is named,
only the most specific adapter of a given name is returned.
.. seealso::
Function `~zope.component.getAdapters` for notes, and
`~zope.component.interfaces.IComponentArchitecture` for the defining interface.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
registry.py
And also in hookable.py
Do this using zope.deferredimport and zope.deprecation, two new
dependencies. This introduces a transitive dependency on zope.proxy,
but that was already part of the 'security' extra. zope.proxy runs
on pypy but it doesn't yet support making the C extension optional (https://github.com/zopefoundation/zope.proxy/issues/26)
Also drop the use of _compat._BLANK everywhere and just use the literal.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
And remove our Python implementation that was added in 2009. The two
have now diverged with new features in zope.hookable.
Since 2012, zope.hookable has had a Python implementation. Now, with
4.2, the C extension is an optional build.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
not be adapted to a ``IComponentLookup``.
|
|
|
|
| |
earlier (and in zope.app.component even more earlier).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added a pure-Python 'hookable' implementation, for use when
'zope.hookable' is not present.
- Undeprecated the interfaces in the 'bbb' package: the promised
removal hasn't happened, and other core pacakges are still using
them. Moved them into ``zope.component.interfaces``, their original
location, and the one from which consumers have been importing them.
- Removed use of 'zope.deferredimport' by breaking import cycles.
|
|
|
|
| |
up documentation a bit.
|
|
|
|
| |
is easier to read that way.
|
|
|