Thank you for the clarification, Tim.
On 3. Nov 2005, at 16:22, Tim Peters wrote:
The full deprecation msg spells it out in more detail:
subtransactions are deprecated; instead of transaction.commit
(1), use
transaction.savepoint(optimistic=True) in contexts where a
subtransaction
>>> Log message for revision 39807:
>>> transaction.commit(1) is deprecated in favor of transaction.savepoint().
[Tres Seaver]
>> This likely needs to be 'savepoint(optimistic=True)' (see collector
>> #1860 for rationale).
[Stefan H. Holek]
> Perhaps. However, these tests specifically check int
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 39
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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).
Tres.
- --
==
Stefan H. Holek wrote:
Log message for revision 39807:
transaction.commit(1) is deprecated in favor of transaction.savepoint().
Actually, in favor of transaction.savepoint(optimistic=True).
Florent
Changed:
U Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
U Zope/trunk/