Skip to content

[3.11] gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and TypeVarTuple (GH-99412)#99866

Merged
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-8f2fb7d-3.11
Nov 29, 2022
Merged

[3.11] gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and TypeVarTuple (GH-99412)#99866
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-8f2fb7d-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 29, 2022

  • Fix substitution of TypeVarTuple and ParamSpec together in user generics.

  • Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases.

  • Check the number of arguments in substitution in user generics containing a
    TypeVarTuple and one or more TypeVar.
    (cherry picked from commit 8f2fb7d)

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

…ution of ParamSpec and TypeVarTuple (pythonGH-99412)

* Fix substitution of TypeVarTuple and ParamSpec together in user generics.

* Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases.

* Check the number of arguments in substitution in user generics containing a
  TypeVarTuple and one or more TypeVar.
(cherry picked from commit 8f2fb7d)

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

Sorry, I can't merge this PR. Reason: 6 of 9 required status checks are expected..

@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: 6 of 9 required status checks have not succeeded: 5 expected..

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.

3 participants