- 14 Sep, 2004 5 commits
-
-
Tim Peters authored
transaction when a commit() fails. One test here provoked a failing commit(), which caused a later test to fail. Repaired by simply abort()'ing the failed transaction.
-
Tim Peters authored
Removed obsolete comment.
-
Tim Peters authored
-
Tim Peters authored
As discussed on zodb-dev, failing commit "sticks" now. After a commit fails (raises an exception), all subsequent attempts to commit, join, or register with the transaction now raise the new TransactionFailedError. The failed transaction must be explicitly discarded now, via abort() on the transaction or begin() on its transaction manager.
-
Tim Peters authored
After a commit fails (raises an exception), all subsequent attempts to commit, join, or register with the transaction now raise the new TransactionFailedError. The failed transaction must be explicitly discarded now, via abort() on the transaction or begin() on its transaction manager.
-
- 10 Sep, 2004 4 commits
-
-
Tim Peters authored
-
Tim Peters authored
Officially deprecate Transaction.begin().
-
Tim Peters authored
-
Tim Peters authored
more was incomprehensible. Tried to repair that. Plus random improvements to ReST markup.
-
- 09 Sep, 2004 2 commits
-
-
Tim Peters authored
Forward port from Zope 2.7 branch. The ConflictError.get_{old,new}_serial() methods each did what the other was supposed to do.
-
Tim Peters authored
The ConflictError.get_{old,new}_serial() methods each did what the other was supposed to do.
-
- 04 Sep, 2004 3 commits
-
-
Tim Peters authored
Port from Zope 2.7 branch. Collector #1488 (TemporaryStorage -- going backward in time). This confusion was really due to that the detail on a ConflictError exception didn't make sense.
-
Tim Peters authored
-
Tim Peters authored
Collector #1488 (TemporaryStorage -- going backward in time). This confusion was really due to that the detail on a ConflictError exception didn't make sense.
-
- 31 Aug, 2004 5 commits
-
-
Tim Peters authored
-
Tim Peters authored
Forward port from Zope 2.7 branch. _handle_independent(): Failed to record that a ReadConflictError was raised for an object with a _p_independent() method that returned false.
-
Tim Peters authored
_handle_independent(): Failed to record that a ReadConflictError was raised for an object with a _p_independent() method that returned false.
-
Tim Peters authored
-
Tim Peters authored
-
- 27 Aug, 2004 2 commits
-
-
Tim Peters authored
Raise ConnectionStateError if an attempt to close a connection is made while the connection has a pending subtransaction.
-
Tim Peters authored
is made while the connection has a pending subtransaction.
-
- 26 Aug, 2004 2 commits
-
-
Tim Peters authored
Transaction.begin() didn't do anything. begin() is supposed to abort the current transaction, but Transaction.begin() did not. Calling begin() on a transaction *manager* worked fine, and is the intended way to do a begin() in 3.3. But calling begin() on a Transaction object is still very easy to do (e.g., the older get_transaction().begin() spelling still works), and shouldn't be a subtle disaster.
-
Tim Peters authored
begin() is supposed to abort the current transaction, but Transaction.begin() did not. Calling begin() on a transaction *manager* worked fine, and is the intended way to do a begin() in 3.3. But calling begin() on a Transaction object is still very easy to do (e.g., the older get_transaction().begin() spelling still works), and shouldn't be a subtle disaster.
-
- 25 Aug, 2004 3 commits
-
-
Tim Peters authored
Empty BTrees/__init__.py; isn't doing anything except creating problems.
-
Tim Peters authored
creating problems.
-
Tim Peters authored
It's possible that an oid is referenced despite never being defined (well, it's not *supposed* to be possible ...).
-
- 23 Aug, 2004 3 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
- 21 Aug, 2004 3 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
automated test. There were so many oddities getting that test to pass, and so much consequent fiddling of other code, that I don't intend to merge this to the 3.3 branch. Also moved to current Python CVS doctest.py, because the test really needs the +ELLIPSIS option (tids vary across runs).
-
- 20 Aug, 2004 1 commit
-
-
Tim Peters authored
started with a pickle GLOBAL opcode. Curiously, it handled the case of starting with a MARK GLOBAL opcode *sequence* fine.
-
- 19 Aug, 2004 2 commits
-
-
Tim Peters authored
FileIterator.next(): the code for reading the user, description, and extension fields from a transaction was fatally confused, usually reading them out of the object pickle by mistake. This caused several tools to display binary gibberish.
-
Tim Peters authored
and extension fields from a transaction was fatally confused, usually reading them out of the object pickle by mistake. This caused several tools to display binary gibberish.
-
- 18 Aug, 2004 2 commits
-
-
Tim Peters authored
Forward port from Zope 2.7 branch. analyze_rec(): This produced spurious "len of unsized object" messages when a data record had a backpointer instead of a pickle. Repaired. analyze(), analyze_trans(): Simplified overly elaborate iteration code.
-
Tim Peters authored
analyze_rec(): This produced spurious "len of unsized object" messages when a data record had a backpointer instead of a pickle. Repaired. analyze(), analyze_trans(): Simplified overly elaborate iteration code.
-
- 17 Aug, 2004 3 commits
-
-
Tim Peters authored
Forward port from Zope 2.7 branch. Many changes to fsrefs.py, based on problems I hit using it in real life.
-
Tim Peters authored
Many changes to fsrefs.py, based on problems I hit using it in real life.
-
Tim Peters authored
Forward port from Zope 2.7 branch. oid_repr(): Make it obvious which base is intended. The output was 3-way ambiguous.
-