Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.13] gh-155752: Do not crash when GenericAlias parameters change during substitution (GH-155761) - #155772

Merged
terryjreedy merged 1 commit into
python:3.13from
miss-islington:backport-c0006fa-3.13
Sep 8, 2026
Merged

[3.13] gh-155752: Do not crash when GenericAlias parameters change during substitution (GH-155761)#155772
terryjreedy merged 1 commit into
python:3.13from
miss-islington:backport-c0006fa-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

An alias argument can gain typing_subst after parameters has been cached, including during a preparation or substitution callback. Check that the argument is present before indexing the substitution arguments.
(cherry picked from commit c0006fa)

Co-authored-by: Darius Houle [email protected]

…ing substitution (pythonGH-155761)

An alias argument can gain __typing_subst__ after __parameters__ has been cached, including during a preparation or substitution callback. Check that the argument is present before indexing the substitution arguments.
(cherry picked from commit c0006fa)

Co-authored-by: Darius Houle <[email protected]>
@python-cla-bot

python-cla-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@terryjreedy

Copy link
Copy Markdown
Member

Approved by @JelleZijlstra who merged to main.

@terryjreedy
terryjreedy merged commit 649e421 into python:3.13 Sep 8, 2026
46 checks passed
@miss-islington
miss-islington deleted the backport-c0006fa-3.13 branch September 8, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants