- 25 Feb, 2004 1 commit
-
-
Jim Fulton authored
on the Zope 2 head. While I can appreciate the desire to unserstand why register would be called by an object that has no _p_oid, such questions should be answered in a sandbox, without breaking the head.
-
- 24 Feb, 2004 6 commits
-
-
Jeremy Hylton authored
revise words about registering with transactions.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Stephan Richter authored
-
Stephan Richter authored
-
Stephan Richter authored
-
- 23 Feb, 2004 6 commits
-
-
Fred Drake authored
-
Jeremy Hylton authored
-
Jim Fulton authored
If an error occurs while unpickling records, a message will be logged and the affected records are skipped.
-
Jim Fulton authored
Remove the index file after creation. I need to look at this some more. Why is the saved alias file incorrect? Why isn't the bogosity recognized when the file is opened?
-
Jim Fulton authored
for each transaction. Now they are tracked globally.
-
Steve Alexander authored
-
- 21 Feb, 2004 1 commit
-
-
Jim Fulton authored
-
- 20 Feb, 2004 11 commits
-
-
Jim Fulton authored
during converesion. We now skip affected records and output error messages.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
specified for an address-type value. The tests hardwired the Linux default (an empty string), so failed on Windows (which uses 'localhost').
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add comment explaining try/except for ImportError. Simplify test_suite().
-
Jeremy Hylton authored
I can't figure out how these tests were passing in a Zope checkout. They failed for a ZODB checkout.
-
Fred Drake authored
update to replace ZODB 4 with ZODB 3
-
Jeremy Hylton authored
-
Tim Peters authored
ExtensionClass-based base class ..." from Persistence/__init__.py. It's bad to see that when running tests. This was fixed quite a while ago in ZODB 3.3, but the code appeared to get lost in the latest round of merges. By eyeball, I didn't detect any other lossage in test.py.
-
- 19 Feb, 2004 15 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Include ZODB.serialize tests.
-
Jeremy Hylton authored
DemoStorage is too frail to bother using.
-
Jeremy Hylton authored
Blast! Why didn't doctest complain about this?
-
Jeremy Hylton authored
- fold in not-actually-shared pickle support code into cPersistence.c, removing pickle.c - remove __getnewargs__(), since we want to allow ghost creation to avoid the extra database lookup when possible - persistent objects no longer get a default __getnewargs__()
-
Jeremy Hylton authored
- inline getClassMetadata() into serialize() - get __getnewargs__() from the object instance, not the class, since the PersistentClassMetaClass does things strangely
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Added support for persistent weak references and PersistentWeakKeyDictionary. Add _p_invalidate() method to persistence API. _p_deactivate() is advisory from the cache. _p_invalidate() is called when database invalidates object. Port support for getattr/setattr hacks from ZODB4. The doctest tests describe the new technique pretty well. Remove unused arguments from some cPickleCache calls.
-
Jeremy Hylton authored
Add support for persistent weak references. The implementation is in pure Python right now; coptimizations.c was disabled. We need to restore the C code before going to beta. The persistent reference format has evolved a little, but the code on the branch doesn't document it. The ref is usually a an oid-class pair, where the class is an actual class object. It can also be a list, for weak references, or a bare oid. Add support for data managers written against the ZODB4 transaction API. The transaction implementation provides an adapter between the two interfaces. There's a substantial doctest test suite for this feature. Add add() method to Connection to explicitly add an object and get it an assigned _p_oid. It's possible to add an unconnected object; this isn't recommended, because it will be lost at pack time.
-