- 15 Mar, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 12 Mar, 2002 2 commits
-
-
Kapil Thangavelu authored
don't pass, and have been prefixed by 'BUG'
-
Kapil Thangavelu authored
-
- 11 Mar, 2002 1 commit
-
-
Andreas Jung authored
-
- 08 Mar, 2002 3 commits
-
-
Jeremy Hylton authored
Fix SF bug #516768 reported by Dave Wallace. Replace use of PyMem_DEL() with PyObject_Del() on object dealloc functions. The use of PyMem_DEL() is incorrect for object deallocation, because it only ever calls the low-level free(). If a custom allocator like pymalloc is used, it needs to be called to free the memory.
-
Jeremy Hylton authored
Fix SF bug #516768 reported by Dave Wallace. Replace use of PyMem_DEL() with PyObject_Del() on object dealloc functions. The use of PyMem_DEL() is incorrect for object deallocation, because it only ever calls the low-level free(). If a custom allocator like pymalloc is used, it needs to be called to free the memory. Also replace bare malloc() and realloc() with PyMem_Malloc() and PyMem_Realloc(). I think this isn't a strict bug fix, but a would be nice. It guarantees that BTrees objects get their memory from the same allocator as the Python core.
-
Jeremy Hylton authored
The previous, insane version was passing None or a thread id to "%.03f". Add some whitespace around get_transaction() implementations.
-
- 28 Feb, 2002 2 commits
-
-
Andreas Jung authored
-
Jeremy Hylton authored
-
- 21 Feb, 2002 1 commit
-
-
Jeremy Hylton authored
The code was intended to be added to the Zope3 branch, not modified on the trunk.
-
- 20 Feb, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 13 Feb, 2002 1 commit
-
-
Guido van Rossum authored
of the StandaloneZODB-1_0-branch into the trunk. The StandaloneZODB-1_0-branch is now dead!
-
- 12 Feb, 2002 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
trunk. I'm *almost* done with the merge; the only file not yet merged is FileStorage.py.
-
Guido van Rossum authored
code that is needed for it yet.
-
- 11 Feb, 2002 6 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jeremy Hylton authored
Summary of changes: - Add function gc_all_items() to call gc_item() on everything in dict. This factors out common code in all the gc methods. - Add check_size() function that factors out code to check cache size before starting a gc. - Simplify argument processing in cc_invalidate(), avoiding a second call to PyArg_ParseTuple() when argument is a sequence instead of a dictionary. - Chance code to reflect belief that NULL return from PyDict_GetItem() does not set exception, except in cases that don't apply for the pickle cache like comparing a string with high-order bit set to a Unicode object. - Use if (!expr) instead of UNLESS(). - Remove all statements from conditionals. - Reformat to 4 spaces and Python-style brace placement. - Put whitespace around operators and after commas.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 07 Feb, 2002 1 commit
-
-
Andreas Jung authored
-
- 30 Jan, 2002 12 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Refactor main() to report all errors and exit with non-zero status.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Remove useless -d option.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 28 Jan, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 27 Jan, 2002 1 commit
-
-
Guido van Rossum authored
the trunk. Sigh, if I'd known about that, I wouldn't have written another test suite for TimeStamp. :-(
-
- 26 Jan, 2002 1 commit
-
-
Guido van Rossum authored
aborted.
-
- 25 Jan, 2002 3 commits
-
-
Tim Peters authored
integers, due to MS's slothful 18.2Hz updating of time.time(). The test implicitly assumed in one spot that "the midpoint" between two revids was strictly larger than the smaller one, but that wasn't true on Windows. Adjusted the computation (as suggested by Guido) so that "strictly larger" holds in the end even when the inputs are adjacent integers.
-
Jeremy Hylton authored
-
Guido van Rossum authored
the code try: root = self._getRoot() ... except: self._closeDB(root) self._delDB() raise which fails with an UnboundLocalError if the first line in the try clause fails. Fixed this by setting 'root = None' before each such try clause, and adding a None check to _closeDB(). Also removed a useless 'root = None' from the body of _closeDB(). Barry: I saw this in the saz 1.0c1 release. Is it worth backporting? Probably not given that we're not going to do a merge pre-1.0.
-