[pypy-issue] [issue979] Pickle fails in pypy, works in CPython

Simon Hova tracker at bugs.pypy.org
Wed Jan 4 19:33:35 CET 2012


Simon Hova <Simon at hova.net> added the comment:

I don't know how to submit my code without the problematic file, so I am going to 
dump it all.

Test program attached.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue979>
________________________________________
-------------- next part --------------
import EDI
from cPickle import Pickler, Unpickler
from cStringIO import StringIO

_file=EDI.file('ISA_14147844480_600004016.edi')

f = StringIO()
p = Pickler(f, -1)
p.dump(_file)


More information about the pypy-issue mailing list