Open hzqmwne opened 3 years ago
Please look at the information in https://github.com/rocky/python-uncompyle6/issues/new?&template=bug-report.md especially the "Environment" sections. Also, have looked to see if this has been reported before?
Please look at the information in https://github.com/rocky/python-uncompyle6/issues/new?&template=bug-report.md especially the "Environment" sections. Also, have looked to see if this has been reported before?
I've updated the bug-report. Sorry for the inconvenience. I've looked through all opened issues and have not seen other reports.
Description
Error of "if if else" expr sequence
How to Reproduce
here is the source code
test.py
:then compile it with:
and decompile it
the output is:
the decompiled code is quite different from the origin code if run the code, it will print:
Expected behavior
expected decompiled code may look like this:
Environment
this bug can be repeated in such environments:
or
Additional Environment or Context
This bug does not exist in decompile3, but decompile3 cannot handler python3.6 bytecode.