>>> s = transaction.savepoint()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
"lib/python/transaction/_transaction.py", line 682, in rollback
- (3.5a4) Subtransactions are deprecated, and will be removed in ZODB 3.7.
Use savepoints instead. Savepoints are more powerful, and code using
subtransactions does not mix well with code using savepoints (a
subtransaction commit forces all current savepoints to become unusable, so
code using subtransactions can hurt newer code trying to use savepoints).
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org