Commit 7308aedf authored by Jim Fulton's avatar Jim Fulton

Bug fixed:

The interface, ZODB.interfaces.IStorage was incorrect. The store
  method should never return a sequence of oid and serial pairs.
parent b12b1016
...@@ -18,6 +18,8 @@ Bugs fixed ...@@ -18,6 +18,8 @@ Bugs fixed
3.10.0b5.) Invalidating read data when there is a conflict error 3.10.0b5.) Invalidating read data when there is a conflict error
provides some extra insurance. provides some extra insurance.
- The interface, ZODB.interfaces.IStorage was incorrect. The store
method should never return a sequence of oid and serial pairs.
3.10.0b5 (2010-09-02) 3.10.0b5 (2010-09-02)
===================== =====================
......
...@@ -680,15 +680,14 @@ class IStorage(Interface): ...@@ -680,15 +680,14 @@ class IStorage(Interface):
The return value may be: The return value may be:
- None - None, or
- A new serial (string) for the object, or - A new serial (string) for the object
- An iterable of object-id and serial pairs giving new serials If None is returned, then a new serial (or other special
for objects. values) must ve returned in tpc_vote results.
A serial, returned as a string or in a sequence of oid/serial A serial, returned as a string, may be the special value
pairs, may be the special value
ZODB.ConflictResolution.ResolvedSerial to indicate that a ZODB.ConflictResolution.ResolvedSerial to indicate that a
conflict occured and that the object should be invalidated. conflict occured and that the object should be invalidated.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment