while else bug
Opened this issue · 0 comments
rocky commented
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