python-uncompyle6 icon indicating copy to clipboard operation
python-uncompyle6 copied to clipboard

[bug] while not x and not y or z:

Open byehack opened this issue 5 years ago • 0 comments

How to Reproduce

def func():
    while not x and not y or z:
        print(x)

Expected behavior

Environment

windows 10 python 3.8.2 decompile3 3.3.2

Additional Environment or Context

C:\Python38\Scripts\decompyle3.exe -o . bug1.pyc
Instruction context:

 L.   3        12  LOAD_GLOBAL              print
                  14  LOAD_GLOBAL              x
                  16  CALL_FUNCTION_1       1  ''
                  18  POP_TOP
->                20  JUMP_BACK             0  'to 0'


# file bug1.pyc
# Deparsing stopped due to parse error
bug1.pyc --
# decompile failed

byehack avatar Aug 22 '20 19:08 byehack