Previously Stephan Richter wrote:
> On Wednesday 16 July 2008, Fred Drake wrote:
> > On Wed, Jul 16, 2008 at 10:26 AM, Stephan Richter
> >
> > <[EMAIL PROTECTED]> 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.
> 
> I do not think that I have a single annotation that is a simple type.
> I cannot even think of a quick example where any of the Zope 3 core
> packages have/use simple type annotations.

FWIW none of my code uses anything other than simple types for
annotations.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to