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

Allow ParamSpecArgs to be unpacked #13459

Merged
merged 3 commits into from Aug 20, 2022

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Aug 20, 2022

Description

If TypeVars with iterable bounds can be unpacked, so can ParamSpecArgs! This PR is a small extension of #13425 that allows that to happen.

Test Plan

I added a test that currently fails on master, but passes with this patch applied.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link
Contributor

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

@sobolevn
Copy link
Member

We would also need to test TypeVarTuple at some point 😄

@AlexWaygood
Copy link
Member Author

We would also need to test TypeVarTuple at some point 😄

But not today :)

@JelleZijlstra JelleZijlstra merged commit 7606270 into python:master Aug 20, 2022
@AlexWaygood AlexWaygood deleted the iterable-paramspec branch August 20, 2022 18:16
CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Sep 28, 2023
This should be possible since python/mypy#13459 (v0.990)

Change-Id: I19475f6470228a1af6c30ac9889e0c8e371d9fb6
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.

None yet

4 participants