Skip to content

[3.12] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) #122807

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

Conversation

serhiy-storchaka
Copy link
Member

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

Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for positional-or-keyword parameter is passed by keyword. There was only one such case in the stdlib -- the TypeVar constructor. (cherry picked from commit 540fcc6)

…ed by keyword (pythonGH-122664)

Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for
positional-or-keyword parameter is passed by keyword.
There was only one such case in the stdlib -- the TypeVar constructor.
(cherry picked from commit 540fcc6)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app bedevere-app bot added the type-bug An unexpected behavior, bug, or error label Aug 7, 2024
@AlexWaygood AlexWaygood removed their request for review August 7, 2024 20:41
@serhiy-storchaka serhiy-storchaka merged commit f2cc8ad into python:3.12 Aug 8, 2024
30 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-540fcc6-3.12 branch August 8, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant