Converting a pickle to python3
Paulo da Silva
psdasilva.nospam at netcabonospam.pt
Wed Jun 2 17:10:40 EDT 2010
Em 02-06-2010 04:48, Paulo da Silva escreveu:
> Hi!
>
> I have a big data structure cpickled into a datafile, by python2.
> I tried to unpickle it using python3 but got the followin message:
> File "/usr/lib64/python3.1/pickle.py", line 1372, in loads
> encoding=encoding, errors=errors).load()
> _pickle.UnpicklingError: invalid load key, 'x'.
>
...
Please ignore this question. The problem is not the pickle thing but a
compress function I have that has problems related with the new
str/bytes stuff.
Sorry.
More information about the Python-list
mailing list