Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

while else bug #31

@rocky

Description

@rocky

This program when compiled doesn't decompile

# From idlelib/PyParse.py
# Bug is "if" inside a nested while/else.
def _study1(i, n):
    while i:
        while i:
            i = 0
        else:
            if i:
                i = 1

It may be as simple as adding and 'l' in two grammar rules to fix this. See rocky/python-uncompyle6@c6e20e4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions