[issue13566] Array objects pickled in 3.x with protocol <=2 are unpickled incorrectly in 2.x

STINNER Victor report at bugs.python.org
Wed Dec 18 17:08:33 CET 2013


STINNER Victor added the comment:

> If you pickle an array object on python 3 the typecode is encoded as a unicode string rather than as a byte string.  This makes python 2 reject the pickle.

Pickles files of Python 3 are supposed to be compatible with Python 2?

It looks very tricky to produce pickle files compatible with both versions.

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13566>
_______________________________________


More information about the Python-bugs-list mailing list