Skip to content

gh-154275: Do not crash on deeply nested __parameters__ in GenericAlias#154277

Merged
sobolevn merged 1 commit into
python:mainfrom
sobolevn:issue-154275
Jul 20, 2026
Merged

gh-154275: Do not crash on deeply nested __parameters__ in GenericAlias#154277
sobolevn merged 1 commit into
python:mainfrom
sobolevn:issue-154275

Conversation

@sobolevn

@sobolevn sobolevn commented Jul 20, 2026

Copy link
Copy Markdown
Member

@sobolevn
sobolevn merged commit 1034e07 into python:main Jul 20, 2026
110 of 112 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @sobolevn, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1034e07b7d55642c3a46252e6b0a631c2df588d2 3.14

@bedevere-app

bedevere-app Bot commented Jul 20, 2026

Copy link
Copy Markdown

GH-154306 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 20, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @sobolevn, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1034e07b7d55642c3a46252e6b0a631c2df588d2 3.13

sobolevn added a commit that referenced this pull request Jul 20, 2026
…GenericAlias` (GH-154277) (#154306)

gh-154275: Do not crash on deeply nested `__parameters__` in `GenericAlias` (GH-154277)
(cherry picked from commit 1034e07)

Co-authored-by: sobolevn <mail@sobolevn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants