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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to