We need to use pickle protocol 3 for Python 2 (was Re: Re: Python-3-Migration of existing Data.fs)

Jim Fulton <[email protected]> Sun, 25 Mar 2018 13:51:53 -0600
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FitFiokt26MJoRt4TN4fzOtk9-Fea8-P-Rsr9nNtDZg7g@mail.gmail.com>
On Sun, Mar 25, 2018 at 1:40 PM, Jim Fulton <[email protected]> wrote:
...

>  we don't use protocol 3 under Python 2, which largely defeats
> zodbpickle.binary, because it causes binary data to be treated as
> latin-1-encoded unicode. :(
>

This is my fault. :( I will fix.

I'll also add code to save oids as zodbpickle.binary.

https://github.com/zopefoundation/ZODB/issues/193

Jim

-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.