Skip to content

[3.14] gh-159739: [typing] Handle generic alias construction errors (GH-159772) - #159929

Merged
JelleZijlstra merged 1 commit into
python:3.14from
jelle-openai:jelle/codex/gh-159739-3.14-generic-alias
Oct 20, 2026
Merged

JelleZijlstra merged 1 commit into
python:3.14from
jelle-openai:jelle/codex/gh-159739-3.14-generic-alias

Conversation

@jelle-openai

@jelle-openai jelle-openai commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Backport GH-159772 to Python 3.14.

…rors (pythonGH-159772)

Backport the typevarobject.c fix; Python 3.14 does not decref subargs on the generic-alias substitution error path.

(cherry picked from commit 07df106)
@JelleZijlstra
JelleZijlstra enabled auto-merge (squash) October 20, 2026 18:15
@JelleZijlstra
JelleZijlstra merged commit 7615f71 into python:3.14 Oct 20, 2026
51 checks passed
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.

2 participants