-
-
Notifications
You must be signed in to change notification settings - Fork 434
Can't deparse simple loop in Python 3.8 #293
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
Comments
To set expectations, there are lots of bugs in 3.8 deparsing. Python 3.8 code-generation has changed significantly since 3.7. I know about some of these (but I haven't logged them as issues - I'm so nasty.) It's not hard to find bugs, it is a lot harder to fix them. That is why I have started to document the process I use to fix bugs. For this bug, see for example https://github.com/rocky/python-uncompyle6/wiki/Fixing-Issue-%23293-(Python-3.8-grammar-problem) |
That is very helpful. And I would appreciate if you can log things that are broken in 3.8, so when error happens in the future I know it's expected, which could save me a lot of time. |
I'm now thinking that this fix is not as good as fixing the scanner to not turn this into a the fake Are you up for making that change? As for logging bugs, there is a difference between knowing that they exist and narrowing the problem so that it can be more easily fixed. I do realize and appreciate the extra effort that you took to narrow the problem down. The time was not "wasted" or duplicated. To find bugs in say 3.8.0 decompilation run I've never claimed this is does "perfect" decompilation as some have claimed for pycdc |
Thanks for the information. I can take a look when I have time, but I'd rather not letting you rely on my work, cause I've been busy developing my own project(including fixing bugs brought by 3.8). Since |
To reproduce, run
which gives:
Python version 3.8.0, uncompyle6 version 3.5.0
The text was updated successfully, but these errors were encountered: