[Zope-dev] Question: additional context for IAnnotations adapter?

Dan Korostelev nadako at gmail.com
Mon Mar 9 11:16:40 EDT 2009


2009/3/9 Dieter Maurer <dieter at handshake.de>:
> Jacob Holm wrote at 2009-3-6 01:55 +0100:
>> ...
>>I added it while working for ZC two years ago. It was needed to support
>>a use case where the context used for looking up the annotation was not
>>necessarily the current site. I don't know if the use case is still
>>relevant to ZC, but the pattern is still being used in e.g.
>>zc.notification and zope.app.preference (where it was added by me at the
>>time).
>
> I expect that use cases like this (looking up objects in a foreign site
> context) will be important for my current employer (if it continuous to
> use Zope in the future).

Thanks for comments. The functionality stayed and migrated to
zope.principalannotation. It now even have a doctest. :-)


-- 
WBR, Dan Korostelev


More information about the Zope-Dev mailing list