Skip to content

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

Open
@byehack

Description

@byehack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Control FlowProblem has to do with bad control-flow detectionPython 3.8Volunteer wantedVolunteer wanted to fix if a bug or to implement if a new feature.Works on decompyle3

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions