[ZODB-Dev] savepoints in ZODB4

emoy at apple.com emoy at apple.com
Sun Apr 18 03:06:08 EDT 2004


I'm new to ZODB, but I have an application that needs multiple  
savepoints.  However, in my initial testing, I find them rather  
unpredictable and frustrating.  The test_txn.py file has this comment:

         # XXX Should change savepoint() so that you restore to the state
         # at the savepoint() not at the last txn activity before the
         # savepoint().

Since I don't know what "txn activity" is, I've had to fumble around  
and found that it's related to a previous savepoint() call plus some  
modification to the persistent object.

If someone thinks that I could help make the changes the comment above  
suggests, I'm perfectly happy to do so, if I can get some pointers on  
what needs to be fixed.  Or if someone else wants to fix it, I would be  
very grateful.
------------------------------------------------------------------------ 
--
Edward Moy
Apple

(This message is from me as a reader of this list, and not a statement
from Apple.)




More information about the ZODB-Dev mailing list