- 11 Feb, 2004 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
I think it's safe to lose the revision history for these files. setup.py is a copy of ZODB3/setup.py with all the paths edited. test.py is a copy of ZODB4/test.py with no changes.
-
- 06 Feb, 2004 1 commit
-
-
Fred Drake authored
-
- 05 Feb, 2004 2 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
- 04 Feb, 2004 1 commit
-
-
Jeremy Hylton authored
-
- 19 Jan, 2004 1 commit
-
-
Jeremy Hylton authored
-
- 16 Jan, 2004 5 commits
-
-
Tim Peters authored
trouble here on Windows, due to the poor granulatiry of Windows time.time() feeding into pack-time selection in this test. Moved the snooze() from before pack time selection to after it, which appears to be a sufficient fix; this can't hurt Linux, because the snooze() calls aren't needed at all there (but don't hurt either).
-
Jeremy Hylton authored
-
Jeremy Hylton authored
for a redundant pack.
-
Tim Peters authored
"Yow!" here anymore <wink>.
-
Jeremy Hylton authored
Also remove some unused imports and a somewhat irrelevant comment.
-
- 14 Jan, 2004 6 commits
-
-
Jeremy Hylton authored
I don't really understand why this change and the last one to runzeo.py have their apparent effects, but the tests work and the -m option to runzeo.py works.
-
Jeremy Hylton authored
Noted by Jon Dyte.
-
Jeremy Hylton authored
Bug fix from Jon Dyte.
-
Jeremy Hylton authored
The comment long ago fell out of synch with the code.
-
Jeremy Hylton authored
The Connection class inherits from the ExportImport mixin, but they had an arm's length interaction. Restructure the code to provide direct interaction via the _import attribute. Remove the more general onCommitCallback() method. It was only used by ExportImport. A lot of cosmetic changes to ExportImport: - don't make local variables out of attribute lookups - avoid local variable names that shadow builtins - prefer isinstance() to type comparisons - prefer absolute imports to relative imports
-
Jeremy Hylton authored
-
- 09 Jan, 2004 5 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
The server was sending all the invalidations from the queue, not just the ones that were later than the requested tid. This didn't affect correctness of the cache, but did cause it to throw out valid data. Add test case to verify that getInvalidations() returns only what is expected. Bug fix candidate.
-
Tim Peters authored
ways, but unittest never notices this because the tests always fail in a thread unittest doesn't know anything about. Changed ClientThread to derive from the MTStorage tests' TestThread, which arranges to re-raise a thread-death exception in the main thread. Tested "by hand", via temporarily forcing fatal thread exceptions in all the Pack[Now]WhileWriting tests; unittest did notice those now. So, when this happens again in real life, we'll no longer be fooled by test runner reports claiming that everything passed, and then frustrated by not even being able to tell which test failed (you can't tell from the isolated thread traceback(s) wading in the sea of testrunner dot output).
-
Tim Peters authored
-
Jeremy Hylton authored
-
- 08 Jan, 2004 4 commits
-
-
Fred Drake authored
available
-
Tim Peters authored
in a new tuple. If the chain of stuff triggered by the subsequent PyEval_CallObject() happened to trigger cyclic gc, then there were more gc-visible pointers to self than could be accounted for by self->ob_refcnt, and in a debug build Python died with an assertion failure. The code has always been this way, but Jeremy points out that it didn't matter in previous versions of ZODB, because "self" was always an ExtensionClass instance before, and gc ignored those.
-
Fred Drake authored
-
Fred Drake authored
-
- 07 Jan, 2004 3 commits
-
-
Jeremy Hylton authored
ZRS compatibility.
-
Jeremy Hylton authored
-
Tim Peters authored
created the possibility that the checking code would need to try to read up data from a closed connection. This turned out to be a frequent source of new failures in checkConcurrentUpdates1Storage (both FileStorage and BDB flavors). Changed all of the relevant tests to grab the BTree anew from the newly-opened connection.
-
- 06 Jan, 2004 9 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
missing keys.
-
Jeremy Hylton authored
Don't use bpthread; just use thread.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
-
Jeremy Hylton authored
In the branches that call loadBefore() or raise ConflictError, make sure we always return. Either case satisfies the original call to setstate() and we don't want to load the current state.
-
Fred Drake authored
ZConfig.components.logger, adding only what's special about the zLOG version of the factory
-