[ZODB-Dev] strange savepoint behavior

Tim Peters tim at zope.com
Thu Nov 3 12:36:30 EST 2005


[Tim Peters]
> ...
> When you later do
>
>     sv = transaction.savepoint()

Sorry!  That should have said

     sv.rollback()

> you're explicitly asking the transaction machinery to throw away _all_
> current state _that it knows about_.  This now includes the state for
> commonWords[0], but not for any other Word instance.
> ...



More information about the ZODB-Dev mailing list