[pypy-commit] pypy py3.3: need to write size (32 bits) just after timestamp

plan_rich noreply at buildbot.pypy.org
Thu Nov 5 10:35:26 EST 2015


Author: Richard Plangger <planrichi at 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'


More information about the pypy-commit mailing list