Skip to content

[3.11] gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar and TypeVarTuple parameters (alt) (GH-93412) #93746

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

miss-islington
Copy link
Contributor

For example:

A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]]
A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
(cherry picked from commit 3473817)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…over TypeVar and TypeVarTuple parameters (alt) (pythonGH-93412)

For example:

  A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]]
  A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
(cherry picked from commit 3473817)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@serhiy-storchaka
Copy link
Member

@pablogsal, could you please regenerate the ABI data for this PR?

@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ❌ .

@pablogsal
Copy link
Member

@pablogsal, could you please regenerate the ABI data for this PR?

Done 👍

@pablogsal pablogsal force-pushed the backport-3473817-3.11 branch from 43c5336 to a5faeac Compare June 12, 2022 17:59
@serhiy-storchaka serhiy-storchaka merged commit 8dc5df4 into python:3.11 Jun 14, 2022
@serhiy-storchaka
Copy link
Member

Thanks!

@miss-islington miss-islington deleted the backport-3473817-3.11 branch June 14, 2022 18:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants