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
bpo-44793: Fix checking the number of arguments when subscribe a gene… #27515
bpo-44793: Fix checking the number of arguments when subscribe a gene… #27515
Conversation
14d2277
to
fa6937f
…ric type with ParamSpec parameter. For example Callable[P, T][[int], str, float] will now raise an error. Use also the term "arguments" instead of "parameters" in error message for too few/many arguments.
fa6937f
to
0db1b4d
|
Thanks @serhiy-storchaka for the PR |
|
GH-27537 is a backport of this pull request to the 3.10 branch. |
…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>
…ric type with ParamSpec parameter. (GH-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>
|
Sorry, I wasn't able to review this on time Serhiy. Looking at this after the merge, it looks good. Thanks! |
|
It would be good to have a review, but I merged this PR because it is relatively simple and is a prerequisite of other more complex changes. The code changed in this PR will likely be rewritten in future, I am just not sure that that changes will be backported. |
…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.
…ric type with ParamSpec parameter.
For example Callable[P, T][[int], str, float] will now raise an error.
Use also the term "arguments" instead of "parameters" in error
message for too few/many arguments.
https://bugs.python.org/issue44793
The text was updated successfully, but these errors were encountered: