- 20 Mar, 2003 1 commit
-
-
Jeremy Hylton authored
The manager should raise an exception in its prepare() method rather than returning a boolean to indicate failure. Rationale: The txn manager can't raise a reasonable exception, because it doesn't know what the data manager couldn't prepare.
-
- 17 Mar, 2003 10 commits
-
-
Fred Drake authored
It may be reasonable to change this more, but the benefits aren't clear. (These changes will be used from the new-install-branch.)
-
Fred Drake authored
make it easier to re-locate an instance.
-
Fred Drake authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Don't ever stop after the first object. It leaves all the other objects in the version unmodified.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Fix edge case in pack() -- backpointer to object created in version.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 16 Mar, 2003 1 commit
-
-
Tim Peters authored
pair) from the bucket into the set-iteration struct twice. I don't believe this had any visible effect, it was simply pointless and wasted a little time (discovered by eyeball).
-
- 13 Mar, 2003 1 commit
-
-
Albertas Agejevas authored
Other than fixes of nonconforming whitespace, just a couple of $Id$ docstrings has been added.
-
- 10 Mar, 2003 2 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 07 Mar, 2003 6 commits
-
-
Jeremy Hylton authored
It's not clear what the right answer is here. The implementation aborts any remaining resource managers and hopes for the best, which isn't very satisfying. Perhaps the hosed feature should come back. Add some comments about the issues involved. Revise the tests to cover the current behavior.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
XXX Should the manager duplicate these checks?
-
Jeremy Hylton authored
Make txn_factory an attribute of the base class. Raise an exception when prepare() returns False, rather than automatically aborting. Pass transaction object to Rollback() so that rollback() method can check state of transaction. Add IllegalStateError calls to prevent assertions from failing. XXX Should the manager duplicate these checks? Add suspend() and resume() to non-threaded txn manager. Fix bug that caused threaded suspend() to fail with KeyError for thread with no current transaction.
-
Jeremy Hylton authored
classes.
-
Jeremy Hylton authored
If an error occurs during tpc_finish, save the original exception just in case something goes wrong while cleaning up the message.
-
- 05 Mar, 2003 1 commit
-
-
Jeremy Hylton authored
Add suspend() and resume() to transaction manager API. Change implementation so that the thread-aware manager does not inherit from the thread-agnostic manager. Add suspended transaction state.
-
- 04 Mar, 2003 5 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Increase by iterating for longer, rather than making the delay longer. This helps the tests go fast on faster machines.
-
Jeremy Hylton authored
It's too much work to try to get these tests to work, considering that we are declaring start.py obsolete with the 3.2 release.
-
Jeremy Hylton authored
Print repr of description instead of str.
-
- 03 Mar, 2003 1 commit
-
-
Guido van Rossum authored
Pederson. The 'wrap' local variable was reused in a way that overwrote the value intended to set the return dictionary.
-
- 28 Feb, 2003 4 commits
-
-
Barry Warsaw authored
-
Tim Peters authored
which is used by Barry's new LockFile class. The effect of leaving regions of a file locked when closing the file, or when exiting the process, is undefined on Windows, and the new scheme restricts itself to operations with defined semantics.
-
Barry Warsaw authored
encapsulation the storage lock file.
-
Barry Warsaw authored
unlock_file() call which awaits Tim's backport of winlock.UnlockFile(). This is no-op on *nix. Also, implement a better API for dealing with lock files. Use the LockFile class for clean acquisition and release of locks, and unlinking of lock files.
-
- 25 Feb, 2003 1 commit
-
-
Fred Drake authored
- add missing period
-
- 20 Feb, 2003 5 commits
-
-
Fred Drake authored
-
Fred Drake authored
- normalize some markup usage
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
- fix lots of typos
-
- 18 Feb, 2003 1 commit
-
-
Jeremy Hylton authored
types that grow an __module__ in future versions of Python.
-
- 11 Feb, 2003 1 commit
-
-
Barry Warsaw authored
-