[Python-3000] pickle compatibility between 2.x and 3.0

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 1 23:34:02 CET 2007


Guido van Rossum wrote:
> I could add an encoding option to the pickle
> loading APIs

That sounds like the right thing to me. Or at least I
can't think of anything better.

Applications wanting to deal with pickles containing
strings of binary data would just have to specify
latin1 and translate the resulting strings to bytes
themselves.

--
Greg


More information about the Python-3000 mailing list