[ZODB-Dev] updating BTrees
Jeremy Hylton
jeremy at zope.com
Fri Apr 25 20:14:38 EDT 2003
On Fri, 2003-04-25 at 15:08, Nicholas Henke wrote:
> On Fri, 2003-04-25 at 14:26, Tim Peters wrote:
>
> > There are no current plans to backport this work to ZODB3, which needs to
> > remain compatible with Python 2.1 (the new-in-2.2 iteration and __contains__
> > protocols didn't exist in 2.1). ZODB4 requires at least 2.2., so it made
> > easy sense to enhance the ZODB4 flavor of BTree.
>
> Gotcha -- in comparison, how 'stable' are the ZODB4 btrees? Could they
> be used with ZODB3 -- or would the difference in Persistence mechanisms
> create a bit of a mess?
I think "bit of a mess" may be an understatement :-).
ZODB3 and ZODB4 are entirely incompatible because the persistence
implementations use ExtensionClass and new-style classes, respectively.
There's no practical way to mix them.
Jeremy
More information about the ZODB-Dev
mailing list