[Checkins] [zopefoundation/zope.app.component] 3b672b: First cut at adapter-registry refactoring. The re...
GitHub
noreply at github.com
Tue Mar 12 13:24:16 UTC 2013
Branch: refs/heads/monolithic-zope3-jim-adapter-redesign
Home: https://github.com/zopefoundation/zope.app.component
Commit: 3b672ba8ef33313d142dfa89215cf588df8600a4
https://github.com/zopefoundation/zope.app.component/commit/3b672ba8ef33313d142dfa89215cf588df8600a4
Author: Jim Fulton <jim at zope.com>
Date: 2005-09-08 (Thu, 08 Sep 2005)
Changed paths:
A adapter.py
A interfaces/__init__.py
A site.py
A tests/test_adapter.py
A tests/test_directives.py
Log Message:
-----------
First cut at adapter-registry refactoring. The refactoring makes
adapter lookup work more like method lookup. This provides:
- a much simpler algorithm,
- a basis for super-like adapter lookup, and
- a fix for a bug in multi-adapter lookup.
These changes also remove the distinction between objects with no
interface declarations and objects that declare that they provide
Interface.
Unfortunately, these version is *much* too slow. I'm checking this
version in to save it before trying some variations.
More information about the checkins
mailing list