-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-122688: Fix support of var-positional parameter in Argument Clinic #122689
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
Conversation
serhiy-storchaka
commented
Aug 5, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword.
- Correctly calculate min_kw_only.
- Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers.
- Issue: Fix support of var-positional parameter in Argument Clinic #122688
…Clinic * Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
…gument Clinic (pythonGH-122689) * Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers. (cherry picked from commit 8393608) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-122852 is a backport of this pull request to the 3.13 branch. |
…Clinic (pythonGH-122689) * Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers.
… Clinic (GH-122689) (#122852) * Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers. (cherry picked from commit 8393608)