Message129079
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. |
|
Date |
User |
Action |
Args |
2011-02-22 15:05:28 | jcea | set | recipients:
+ jcea, georg.brandl |
2011-02-22 15:05:28 | jcea | set | messageid: <1298387128.87.0.469940179293.issue11286@psf.upfronthosting.co.za> |
2011-02-22 15:05:28 | jcea | link | issue11286 messages |
2011-02-22 15:05:28 | jcea | create | |
|