Skip to content

[3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) - #122852

Merged
Yhg1s merged 1 commit into
python:3.13from
serhiy-storchaka:backport-8393608-3.13
Sep 2, 2024
Merged

[3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689)#122852
Yhg1s merged 1 commit into
python:3.13from
serhiy-storchaka:backport-8393608-3.13

Conversation

@serhiy-storchaka

@serhiy-storchakaserhiy-storchaka commented Aug 9, 2024

Copy link
Copy Markdown
Member
  • 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)

…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 <storchaka@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@serhiy-storchaka@Yhg1s