Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] while not x and not y or z: #326

Open
byehack opened this issue Aug 22, 2020 · 0 comments
Open

[bug] while not x and not y or z: #326

byehack opened this issue Aug 22, 2020 · 0 comments
Labels
control flow Python 3.8 volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature. Works on decompyle3

Comments

@byehack
Copy link
Contributor

byehack commented Aug 22, 2020

How to Reproduce

def func():
    while not x and not y or z:
        print(x)

Expected behavior

Environment

windows 10
python 3.8.2
decompile3 3.3.2

Additional Environment or Context

C:\Python38\Scripts\decompyle3.exe -o . bug1.pyc
Instruction context:

 L.   3        12  LOAD_GLOBAL              print
                  14  LOAD_GLOBAL              x
                  16  CALL_FUNCTION_1       1  ''
                  18  POP_TOP
->                20  JUMP_BACK             0  'to 0'


# file bug1.pyc
# Deparsing stopped due to parse error
bug1.pyc --
# decompile failed
@rocky rocky added control flow Python 3.8 volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature. labels Aug 25, 2020
rocky added a commit to rocky/python-decompile3 that referenced this issue Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control flow Python 3.8 volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature. Works on decompyle3
Projects
None yet
Development

No branches or pull requests

2 participants