You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncompyle6 version: output from uncompyle6 --version uncompyle6 3.9.1.dev0
Python version for the version of Python the byte-compiled the file: python -c "import sys; print(sys.version)" where python is the correct CPython or PyPy binary.
3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0]
Description
double return get printed
How to Reproduce
#458
I used add-test.py with python3.8 with the latest commit on the respective branch
Output Given
Expected behavior
def main(): if input() == 0: print('0') + return - return return None elif input() == 1: print('1') else: printf('other')Environment
uncompyle6 --versionuncompyle6 3.9.1.dev0python -c "import sys; print(sys.version)"wherepythonis the correct CPython or PyPy binary.3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0]
Workarounds
Remove the second run by hand
Priority
I found it while trying to reduce another bug
Additional Context
N/A