Skip to content

Poor if statement formatting with Python 2.4 decompilation #178

Closed
@pythonengineer

Description

@pythonengineer

When decompiling a Python 2.4 module, something such as this:

if True:
    pass
elif False:
    pass
elif not True:
    pass

will be decompiled as:

if True:
    pass
else:
    if False:
        pass
    else:
        if not True:
            pass

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions