[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:])
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>
More information about the Python-bugs-list