KEMBAR78
Fperrin fix 11899 rebase 2022 06 24 by fperrin · Pull Request #6 · fperrin/mypy · GitHub
Skip to content

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.)

fperrin added 4 commits June 24, 2022 11:56
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