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
I also had similar problems with the following files: twisted.python.reflect, twisted.internet.process and pkg_resources.
Though in twisted.internet.process it seems to be related to a try/except block inside a try block, but not really sure.
Regards,
Luis Henrique
The text was updated successfully, but these errors were encountered:
Commenting the if/elif block and just leaving the "return 1" also fails to decompile, however if I comment the "return 1" or make it a "else: return 1" it decompiles fine.
EDIT: I just noticed there were a few more elifs without else in the lines before that code, commenting those as well as the if/elif block quoted and only leaving the "return 1" decompiled fine, so yes it really seems to be a problem with if/elif blocks without a matching else.
I'm working on these errors, and also cleaning up some code in Scanner.py where the bugs are.
uncompyle2 isn't very good at dealing with complex if conditions that span multiple lines; it's one of these earlier in the function that is really causing the error. I have a fix for that error, and I'm working on the other files you mentioned.
Hi,
I want to report an issue I've noticed recently and it seems to be related to IF/ELIF statements without ELSE.
For example:
disassembly:
I also had similar problems with the following files: twisted.python.reflect, twisted.internet.process and pkg_resources.
Though in twisted.internet.process it seems to be related to a try/except block inside a try block, but not really sure.
Regards,
Luis Henrique
The text was updated successfully, but these errors were encountered: