Re: Re: SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ transaction.commit(1) is deprecated in favor of transaction.savepoint().
"Stefan H. Holek" <[email protected]> Thu, 3 Nov 2005 09:57:22 +0100
| Newsgroups | gmane.comp.web.zope.coders |
|---|---|
| Message-ID | <[email protected]> |
Perhaps. However, these tests specifically check interactions between persistent objects, their attributes, and transaction commit/abort. If things break there, I want to know about it. Stefan On 3. Nov 2005, at 01:10, Tres Seaver wrote: > Stefan H. Holek wrote: >> Log message for revision 39807: >> transaction.commit(1) is deprecated in favor of >> transaction.savepoint(). > > This likely needs to be 'savepoint(optimistic=True)' (see collector > #1860 for rationale). -- Anything that happens, happens. --Douglas Adams