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

Jim Fulton <[email protected]> Mon, 26 Mar 2018 08:22:59 -0600
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FharD7ecvwNRvUUrTeVDBbjzGR=71opgA+uAjezmuZ45A@mail.gmail.com>
On Sun, Mar 25, 2018 at 1:51 PM, Jim Fulton <[email protected]> wrote:

> 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
>

Released in 5.4.

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.