Marco Bizzarri wrote:

 What I would like to do is to have an hook to the removal of a _v_
 attribute, so that I can perform some action *BEFORE* losing any
 reference to the object itself. I look at the setattr code in
 cPersistence.c and tried also to write my own __setattr__,

__setattr__ isn't the hook you're looking for..

This is better done in a transcation-hooking type way, a la in ZOracleDA...



Simplistix - Content Management, Zope & Python Consulting

Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - )

Reply via email to