- 16 Apr, 2004 18 commits
-
-
Jeremy Hylton authored
The old code used itertools.chain(), which didn't work as expected. If the first of the two iterator grew after the chain had started consuming the second iterator, the new element(s) in the first iterator would never be consumed. Fix this bug by eliminating the need for chaining. Process all the _added_during_commit objects at the end, each with its own ObjectWriter instance.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add explanation for __getattr__ and friends.
-
Jeremy Hylton authored
-
Tim Peters authored
raised when an operation on a Connection can't be performed because the Connection is in "a wrong state". Connection.close() now raises this exception if the connection is currently joined to a transaction (most obviously, if the transaction the connection is joined to has modified objects waiting for commit or abort). Also changed other appropriate instances of RuntimeError to raise ConnectionStateError instead (e.g., trying to load an object from a closed connection).
-
Jeremy Hylton authored
-
Tim Peters authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Replace use of type('') with basestring. The code didn't call setLocalTransaction(), so getTransaction() always did the same thing as transaction.get().
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Tim Peters authored
essentially means a connection keep track of which objects from the connection are modified, instead of transactions keeping track of that. A good consequence hasn't yet been implemented: if a connection is closed with modifications still pending, we can detect that efficiently now, and complain.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 15 Apr, 2004 12 commits
-
-
Fred Drake authored
again
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add comment about use (or lack thereof) of classFactory in Zope.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
application; needs work, but this should get most projects going
-
Fred Drake authored
-
Fred Drake authored
- add discussion of the issues surrounding keys and multikeys with name="+" and default values
-
- 14 Apr, 2004 3 commits
-
-
Jeremy Hylton authored
the deprecation warning for setLocalTransaction().
-
Jeremy Hylton authored
-
Jeremy Hylton authored
This changes the behavior slightly for invalidations. A Connection will receive invalidations even if it didn't have any modified objects in the transaction, e.g. db.undo() or a read-only transaction. For this to work, it assumes that the thread that called db.open() is the thread that is going to use the connection. If this isn't true, the synch argument to db.open() can be used to disable the new feature.
-
- 13 Apr, 2004 7 commits
-
-
Fred Drake authored
-
Fred Drake authored
note the different default hostname for an inet-address on Windows and Unix
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
ZServer package.
-
Fred Drake authored
aren't needed any more
-