gstarnberger/uncompyle

Multiple Python 2.7 JUMP_IF_FALSE / JUMP_IF_TRUE issue

Opened this issue · 0 comments

The uncompyle can't handle the fact that there are no more JUMP_IF_FALSE / JUMP_IF_TRUE instructions. It will crash in Scanner.py line 435 (where it expects those two opcodes to be available).

If the two opcodes get added (either by renaming JUMP_IF_T/F_OR_POP or the POP_JUMP_IF_T/F opcodes), then the walker will crash with a Syntax error, it most likely dislikes the fact that there's no POP_TOP opcode after the jump.

The error is easy enough to reproduce, just try to decompile :
http://svn2.xp-dev.com/svn/decompyle/trunk/test/bytecode_2.7/test_loops.pyc

Can't wait for uncompyle to fully support Python 2.7 ! :)