[Zope-dev] Re: Should zope.annotation.factory send ObjectAddedEvent?

Tres Seaver tseaver at palladion.com
Fri Dec 21 11:56:44 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Zagrodnick wrote:
> Hi,
> 
> zope.annotation.factory is a very handy tool.
> 
> I wonder if it should not send an ObjectAddedEvent when the annotation 
> object is created. After all an object is added. But there is no (easy) 
> way catalog those objects or do anything.
> 
> If there are no objections I'll add this.

- -1.  Annotations aren't going to be interesting to most code which is
registered for such events.  If necessary, emit an 'IAnnoationAdded'
event, or something, but *don't* derive from the existing interfaces.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHa/BM+gerLs4ltQ4RAgTkAJ41cFpjDyRLphRLjEL3sCADr24TBwCeM9J8
V95i6AkGado70YwSedxOiaI=
=NyRc
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list