[issue9880] Python 2.7 Won't Build: SystemError: unknown opcode

Amaury Forgeot d'Arc report at bugs.python.org
Fri Sep 17 09:09:08 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

For some reason your file os.pyc is corrupted:
I loaded it with a working python2.7:

import marshal, dis
pyc = open('bados.pyc', 'rb').read()
code = marshal.loads(pyc[8:])
dis.dis(code)

And it appears that all the "jump" instructions are wrong: the address is either 0, or something around 65536.

Which compiler do you use? I remember subtle bugs caused by some version of gcc.

----------

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


More information about the Python-bugs-list mailing list