Ross Patterson wrote at 2008-6-30 10:34 -0700: > ... >> Creating a savepoint seems to do the trick: >> >>>>> from persistent import Persistent >>>>> import transaction >>>>> app.pob = Persistent() >>>>> app.pob._p_oid is None >> True >>>>> s = transaction.savepoint() >>>>> app.pob._p_oid >> '\x00\x00\x00\x00\x00\x00E\xfa' > >Would that be a problem causing ZODB bloat?
"savepoint" does not write to the main storage. The main storage is only modified after the final "commit". -- Dieter _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests