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

Reject duplicate ParamSpec.{args,kwargs} at call site #18854

Conversation

sterliakov
Copy link
Collaborator

Fixes #18035.

This comment has been minimized.

@sterliakov sterliakov force-pushed the bugfix/gh-18035-duplicate-paramspec-components branch from b6816e3 to e4ca078 Compare March 30, 2025 01:30

This comment has been minimized.

Copy link
Collaborator

@A5rocks A5rocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja merged commit d0e27fc into python:master Apr 1, 2025
18 checks passed
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.

ParamSpec accepts multiple copies of *args and **kwargs
3 participants