[Zope-dev] Re: No events in zope.annotation

Fred Drake fdrake at gmail.com
Wed Jul 16 10:35:03 EDT 2008


On Wed, Jul 16, 2008 at 10:26 AM, Stephan Richter
<srichter at cosmos.phy.tufts.edu> wrote:
> I agree. I realized only later that those events are defined in the
> zope.app.container package. In this case I would just create new
> annotation-specific events based on ObjectEvent, which is defined in
> zope.component, and zope.component is already a dependency.

Hmm.  Would these be fired by the IAnnotations adapter or by the
factory?  There might be some interesting tradeoffs there.  Many
annotations are just simple data types (strings, tuples,
dictionaries); those can be used with object events, but it seems a
little non-intuitive.


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Zope-Dev mailing list