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.10] bpo-44793: Fix checking the number of arguments when subscribe a generic type with ParamSpec parameter. (GH-27515) #27537

Merged
merged 1 commit into from Aug 2, 2021

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 2, 2021

For example Callable[P, T][[int], str, float] will now raise an error.

Use also term "arguments" instead of "parameters" in error
message for too few/many arguments.
(cherry picked from commit f92b913)

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

https://bugs.python.org/issue44793

…ric type with ParamSpec parameter. (pythonGH-27515)

For example Callable[P, T][[int], str, float] will now raise an error.

Use also term "arguments" instead of "parameters" in error
message for too few/many arguments.
(cherry picked from commit f92b913)

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

@miss-islington miss-islington commented Aug 2, 2021

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

2 similar comments
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Aug 2, 2021

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

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Aug 2, 2021

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

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Aug 2, 2021

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

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented Aug 2, 2021

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

@miss-islington miss-islington merged commit c8db292 into python:3.10 Aug 2, 2021
13 checks passed
@miss-islington miss-islington deleted the backport-f92b913-3.10 branch Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants