Skip to content

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

Merged
serhiy-storchaka merged 2 commits into
python:3.11from
miss-islington:backport-3473817-3.11
Jun 14, 2022
Merged

serhiy-storchaka merged 2 commits into
python:3.11from
miss-islington:backport-3473817-3.11

Conversation

@miss-islington

Copy link
Copy Markdown
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

ghost commented Jun 12, 2022

Copy link
Copy Markdown
Contributor Author

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

1 similar comment
@miss-islington

ghost commented Jun 12, 2022

Copy link
Copy Markdown
Contributor Author

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

@serhiy-storchaka

ghost commented Jun 12, 2022

Copy link
Copy Markdown
Member

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

@miss-islington

ghost commented Jun 12, 2022

Copy link
Copy Markdown
Contributor Author

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

@pablogsal

ghost commented Jun 12, 2022

Copy link
Copy Markdown
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

ghost commented Jun 14, 2022

Copy link
Copy Markdown
Member

Thanks!

@miss-islington
miss-islington deleted the backport-3473817-3.11 branch June 14, 2022 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Couldn't load reviewers.

Assignees

Couldn't load assignees.