[issue5180] 3.1 cannot unpickle 2.7-created pickle

Antoine Pitrou report at bugs.python.org
Sat Feb 7 23:28:55 CET 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

The pickle was generated by pybench. You can try to display it by running:

./python Tools/pybench/pybench.py --debug -s 27.bench

It fails with the following traceback:

Traceback (most recent call last):
  File "Tools/pybench/pybench.py", line 954, in <module>
    PyBenchCmdline()
  File "/home/antoine/py3k/__svn__/Tools/pybench/CommandLine.py", line
349, in __init__
    rc = self.main()
  File "Tools/pybench/pybench.py", line 888, in main
    bench = pickle.load(f)
  File "/home/antoine/py3k/__svn__/Lib/pickle.py", line 1335, in load
    return Unpickler(file, encoding=encoding, errors=errors).load()
_pickle.UnpicklingError: bad pickle data

----------
components: Extension Modules
messages: 81351
nosy: alexandre.vassalotti, pitrou
priority: high
severity: normal
status: open
title: 3.1 cannot unpickle 2.7-created pickle
type: behavior
versions: Python 3.0, Python 3.1

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


More information about the Python-bugs-list mailing list