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

Fperrin fix 11899 rebase 2022 06 24 #6

Closed
wants to merge 4 commits into from

Conversation

fperrin
Copy link
Owner

@fperrin fperrin commented Jun 24, 2022

Have you read the Contributing Guidelines?

(Once you have, delete this section. If you leave it in, your PR may be closed without action.)

Description

(Explain how this PR changes mypy.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

When FuncDef is deserialized we don't reconstruct the arguments.
Previous code was deleting the attribute, leading to python#11899; instead,
always set the attribute, maybe to the empty list, and get argument
names from arg_names if arguments is empty.
@github-actions
Copy link

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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

Successfully merging this pull request may close these issues.

1 participant