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

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

Merged
merged 1 commit into from
Nov 29, 2022

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