[ZODB-Dev] List of modified objects

Christian Robottom Reis kiko at async.com.br
Fri Dec 3 07:52:32 EST 2004


On Fri, Dec 03, 2004 at 10:37:52AM +0100, Syver Enstad wrote:
> "Tim Peters" <tim at zope.com> writes:
> 
> > > There isn't a public API for this. I think that there should be.
> > 
> > I'll add it to the ZODB 3.4 wish list.
> 
> Somewhat related would be my wish for a hook called on commit of the
> transaction which would allow objects to register certain information,
> in my case a timestamp for the commit time and the name of the user
> making the change. I use __getstate__ for this today but that seems
> like a hack.

+1 for this; I use (to the same end) an even more evil hack that I won't
bear discussing in public.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331


More information about the ZODB-Dev mailing list