Author: Richard Plangger <planri...@gmail.com> Branch: py3.3 Changeset: r80548:c389c7b3f1ae Date: 2015-11-05 16:25 +0100 http://bitbucket.org/pypy/pypy/changeset/c389c7b3f1ae/
Log: need to write size (32 bits) just after timestamp diff --git a/pypy/module/imp/test/test_app.py b/pypy/module/imp/test/test_app.py --- a/pypy/module/imp/test/test_app.py +++ b/pypy/module/imp/test/test_app.py @@ -28,6 +28,7 @@ f = open('@TEST.pyc', 'wb') f.write(imp.get_magic()) f.write(b'\x00\x00\x00\x00') + f.write(b'\x00\x00\x00\x00') marshal.dump(co, f) f.close() return '@TEST.pyc' _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit