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

Wrong default function parameters decompilation #507

Open
greenozon opened this issue Aug 7, 2024 · 0 comments
Open

Wrong default function parameters decompilation #507

greenozon opened this issue Aug 7, 2024 · 0 comments

Comments

@greenozon
Copy link
Contributor

input sample:

def foo1(p1, p2, /, arg1=100, arg2='argos2', **kwargs):
	pass

decompiled using pycdc as:

def foo1(p1, p2, arg1, arg2 = (100, 'argos2'), **kwargs):
    pass

any clues how to fix it to the rescue?

sample files attached

sample-1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant