[ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

Marius Gedminas marius at gedmin.as
Thu Dec 10 06:57:25 EST 2009


On Thu, Dec 10, 2009 at 11:08:25AM +0000, Chris Withers wrote:
> Marius Gedminas wrote:
> >   * In ZODB 3.8, the 'version' argument of ClientStorage.history (as well
> >     as other kinds of storages, I suppose) is mandatory.  In ZODB 3.9
> >     it's gone.
> > 
> >     Solved by peeking into the method signature with inspect.getargspec()
> >     and supplying a version only if it's needed.
> 
> I believe this may be fixed with 3.9.4 is released.
> ...but it sounds like your code isn't ending up using the Z303 adapter, 
> which is why you're running into the problem.

What's Z303?

> How are you mixing versions? 3.8 on client and 3.9 on server or?

I'm not mixing versions at runtime; my intent is to write code that
works with either ZODB 3.8.x or 3.9.x.

You can see it here in all its glory:
http://bazaar.launchpad.net/~zodbbrowser-dev/zodbbrowser/trunk/annotate/head:/src/zodbbrowser/history.py#L30

http://bazaar.launchpad.net/~zodbbrowser-dev/zodbbrowser/trunk/annotate/head:/src/zodbbrowser/state.py#L115

> (sorry, I lost the previous thread and saw this as a new one when Jim 
> changed the subject line...)

This is a new topic, completely unrelated to the previous thread.

Marius Gedminas
-- 
I'm a shareware signature!  Send $2 if you use me, $10 for a manual.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20091210/2a6a15d2/attachment-0001.bin 


More information about the ZODB-Dev mailing list