-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has some problems when run code #39
Comments
It is caused by Python changed the byte code format. "After version 3.6, Python uses 2 bytes for each instruction. You can find more information here. |
I managed to fix the bytecode issue by apply following patch. But there are some test failed due to the new add the operation codes since python 3.9
|
xpython has
That said, it will be undergoing major upheaval soon in order to be able to interpret 3.10 opcodes. And it has many of the other problems that this codebase has too. It just gets you closer. |
intArg = byteint(arg[0]) + (byteint(arg[1]) << 8)
if byteCode in dis.hasconst:
arg = f.f_code.co_consts[intArg]
this is the code of function 'parse_byte_and_args', in this part, intArg is index out of range, i dont know why, can u help me, thanks
The text was updated successfully, but these errors were encountered: