Skip to content

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.

@AlexWaygood AlexWaygood requested a review from sobolevn August 20, 2022 16:18
@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

4 participants