Amaury Forgeot d'Arc <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue9880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com