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
{{ message }}
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
Python 2.7 generates special code for expression
x if 1 else y
as opposed tox if True else y
and this causes a parse error.To repeat try:
1 if 1 else __file__
Or see https://github.com/rocky/python-uncompyle6/blob/master/test/bytecode_2.7/03_if_1_else.pyc
Grammar code from https://github.com/rocky/python-uncompyle6/ could probably be used here.
The text was updated successfully, but these errors were encountered: