Closed starportx closed 11 years ago
Thank you! With the source code it's easier for me. You're right it's a bug, and an interesting one!
In fact when this code is compiled, the bytecode generated contain a special opcode named LIST_APPEND. In the python bytecode version 2.5 & 2.6 the LIST_APPEND opcode is one octet sized. But in 2.7 LIST_APPEND is three octets size (it has an argument).
I'll patch my code for handling this change in the different version of python bytecode. Sorry for my lagy answer btw. Patch will come soon. :)
It’s really nice to hear that, thank you for your support! You and your compiler are the best!
From: Mysterie [mailto:notifications@github.com] Sent: Thursday, December 13, 2012 7:58 PM To: Mysterie/uncompyle2 Cc: Feng, Yixuan (Jarod) Subject: Re: [uncompyle2] Unable to decompile this simple code (#4)
Thank you! With the source code it's easier for me. You're right it's a bug, and an interesting one!
In fact when this code is compiled, the bytecode generated contain a special opcode named LIST_APPEND. In the python bytecode version 2.5 & 2.6 the LIST_APPEND opcode is one octet sized. But in 2.7 LIST_APPEND is three octets size (it has an argument).
I'll patch my code for handling this change in the different version of python bytecode. Sorry for my lagy answer btw. Patch will come soon. :)
— Reply to this email directly or view it on GitHubhttps://github.com/Mysterie/uncompyle2/issues/4#issuecomment-11331931.
First of all I must admit this decompiler is the best I've ever tested, great readality and debuggable, nice work, guys! But here is a very simple section that current build can't pass through, I don't know a lof on byte-code, but I believe it's a bug, any question please contact me in: jarodfeng@ea.com
source:
asm: