Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

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

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 9, 2024

  • 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>
@rhettinger rhettinger removed their request for review August 9, 2024 22:19
@Yhg1s Yhg1s merged commit 8b6dd92 into python:3.13 Sep 2, 2024
45 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-8393608-3.13 branch October 21, 2024 13:45
Sign up for free to 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.