- 03 Mar, 2004 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
by src/persistent/tests/test_persistent.
-
- 02 Mar, 2004 14 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
I've included some code to convert a text file containing doctest tests into a unittest.TestCase. This code wants to be generic, but I'm not sure if it's simple enough yet.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
This shouldn't affect any user code, because False == 0 and True == 1.
-
Jeremy Hylton authored
Remove unittest boilerplate.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add docstrings for public cache methods.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 01 Mar, 2004 2 commits
-
-
Jeremy Hylton authored
If there is a jar and no oid, then the user assigned _p_jar directly. All the Connection that assigns _p_jar also assigns an oid.
-
Jeremy Hylton authored
-
- 27 Feb, 2004 11 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
-
Jeremy Hylton authored
Delete importFile() and exportFile(). They always raised an exception, and there are no subclasses that provide an implementation. I suspect they were decoys from the days before export/import was implemented on the Connection. Remove UndoLogCompatible base class from DB, because it doesn't provide the undoLog() method needed to make it at all useful. Deprecate all the cache_deactivate_after methods. Replace list2dict with new dict.fromkeys() constructor. Make imports global instead of local. Add epydoc markup to DB class docstring.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
It's harder to write serious tests, because some of the critical correctness issues relate to concurrency. We'll have to depend on the various concurrent updates and NZODBThreads tests to handle these.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Import IPersistent so docstrings can refer to it. Move $Id$ tag about @group tags so epydoc doesn't complain. Don't return anything from _setDB(). The caller always has the object anyway. Rename local variable in register() from object to obj to avoid shadowing builtin name.
-
Philipp von Weitershausen authored
Please do not only run the unit tests after changes; also test whether Z3 starts up...
-
Martijn Faassen authored
-
- 26 Feb, 2004 5 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add get() as preferred synonym for __getitem__. Change several uses of subscripting to get(). Change add() to register new object with transaction. Change several methods to raise RuntimeError if they are called when the Connection is closed. Add experimental epydoc markup to doc strings. Extend doc strings and write new tests for "User Methods."
-
Jeremy Hylton authored
-
Tim Peters authored
However, fixing it so far *appears* to fix a bunch of shy FileStorage pack[Now]WhileWriting test failures whose connection to loadBefore() isn't obvious. It's plausible that it's a real fix for those, just not (yet) compelling. It seems very likely to be a real fix for very rare failures that have shown up only in ChrisM's overnight testrunner reports (because those did have stuff related to loadBefore() in their tracebacks).
-
Jeremy Hylton authored
-
- 25 Feb, 2004 6 commits
-
-
Christian Robottom authored
TRANS_HDR; also fix an import issue deriving from the creation of ZODB.FileStorage.format. Problem pointed out by Martijn Faassen <faassen@infrae.com>. r=jeremy
-
Jeremy Hylton authored
-
Jim Fulton authored
-
Jim Fulton authored
been broken by a unicode user value.
-
Jim Fulton authored
Broken objects are objects who's class has gone away, typically because modules or classes have been removed or moved.
-
Jim Fulton authored
Broken objects are objects who's class has gone away, typically because modules or classes have been removed or moved.
-