- 13 May, 2003 1 commit
-
-
Jeremy Hylton authored
2.1.
-
- 12 May, 2003 2 commits
-
-
Fred Drake authored
-
Tim Peters authored
from a dict with a float value. Mapping_update(): This squashed errors raised by PyObject_SetItem(), changing them to a "not a 2-tuple" TypeError instead. Unclear why, since 2-tupleness was checked earlier. Fixed by backporting part of the ZODB4 BTree construction code, which doesn't have this problem. Bonus: it's faster now too.
-
- 09 May, 2003 1 commit
-
-
Jeremy Hylton authored
-
- 08 May, 2003 6 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
ZODB4.
-
Tim Peters authored
due to the coarseness of time.time() on Windows. It looks like an attempt was made before to fix this, and also removed a wrong comment explaining that fix. .pack() used to be documented incorrectly, saying that stuff before the pack time was packed away. It's actually the case that stuff before *or equal to* the pack time is packed away, and that's a crucial distinction on Windows because time.time() often (usually, in fact) returns the same value on two successive calls. The earlier fix attempt tried to separate observed time.time() values, but did so before the pack(). That's usually appropriate, but in this test we really need to make sure that object revisions *after* the pack() get timestamps distinct from the pack time (else they'll get packed away, and the test isn't expecting that).
-
Tim Peters authored
a MappingStorage (which doesn't support versions), so stop trying to test that combo.
-
- 02 May, 2003 3 commits
-
-
Jeremy Hylton authored
Reduces memory usage during pack by a considerable fraction with modest 10% slowdown.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 01 May, 2003 19 commits
-
-
Jeremy Hylton authored
We're still missing tests that cover important cases. Unexecuted code below: >>>>>> if l > len(data) - 8: >>>>>> pos += l >>>>>> break >>>>>> s = l + 1 >>>>>> tl = u64(data[s:s+8]) >>>>>> if tl < pos: >>>>>> return pos + s + 8 >>>>>> except: >>>>>> if partial and nrec: >>>>>> ofs._status = 'p' >>>>>> ofs.tpc_vote(transaction) >>>>>> ofs.tpc_finish(transaction) >>>>>> if verbose: >>>>>> print 'partial' else: >>>>>> ofs.tpc_abort(transaction) >>>>>> print "\n%s: %s\n" % sys.exc_info()[:2] >>>>>> if not verbose: >>>>>> progress(prog1) >>>>>> pos = scan(file, pos)
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add main() function to do argument processing separate from recover().
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
version, and likely won't be again.
-
Tim Peters authored
-
Martijn Faassen authored
source tree. This should have taken care of most unused imports in Zope 3. :)
-
Jeremy Hylton authored
Covers the case where an object is only reachable in a version at the pack time.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
instead of listcomps. Added new examples. Corrected minor mistakes. Removed the byValue() example and claimed that function is deprecated (it's almost never used, and it's hard to explain exactly what it does).
-
Tim Peters authored
-
- 30 Apr, 2003 2 commits
-
-
Jeremy Hylton authored
Windows will have fsync() starting with 2.2.3.
-
Jeremy Hylton authored
-
- 29 Apr, 2003 2 commits
-
-
John Dahlin authored
-
Jeremy Hylton authored
If asyncore is not running in a separate thread, the client needs to call poll() to perform the IO necessary for cache verification to finish. This allows us to eliminate several calls to sync() in the test suite.
-
- 25 Apr, 2003 1 commit
-
-
Jeremy Hylton authored
-
- 24 Apr, 2003 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-