Jesús Cea Avión <j...@jcea.es> added the comment: I got a trivial (41 bytes long) reproductable case:
Pickle the following structure in Python 2.7, and try to unpickle with Python 3.2, using a "latin1" encoding: """ {'ya_volcados': {'comment': ''}} """ Load with: """ #!/usr/local/bin/python3 import pickle f=open("z.pickle", "rb").read() a=pickle.loads(f,encoding="latin1") """ (I use "latin1" because my real pickle includes binary data stored as strings. Note that the testcase doesn't content binary data). Python 3.2, 32 bits. Tested under Solaris and Linux. This worked in Python 3.1.3, so we have a regression. ---------- keywords: +3.2regression stage: test needed -> needs patch Added file: http://bugs.python.org/file20839/z.pickle _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11286> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com