Skip to content

[3.14] gh-159739: Preserve the syntax error if metadata allocation fails (GH-159751) - #159846

Merged
JelleZijlstra merged 2 commits into
python:3.14from
miss-islington:backport-9c239fb-3.14
Oct 20, 2026
Merged

JelleZijlstra merged 2 commits into
python:3.14from
miss-islington:backport-9c239fb-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Restore the original exception when optional syntax-error metadata
cannot be allocated.
(cherry picked from commit 9c239fb)

Co-authored-by: Jelle Zijlstra jelle@openai.com

…ls (pythonGH-159751)

Restore the original exception when optional syntax-error metadata
cannot be allocated.
(cherry picked from commit 9c239fb)

Co-authored-by: Jelle Zijlstra <jelle@openai.com>
Comment thread Parser/pegen.c Outdated
@JelleZijlstra
JelleZijlstra enabled auto-merge (squash) October 20, 2026 17:37
@JelleZijlstra
JelleZijlstra enabled auto-merge (squash) October 20, 2026 18:18
@JelleZijlstra
JelleZijlstra merged commit 28cb41d into python:3.14 Oct 20, 2026
49 checks passed
@miss-islington
miss-islington deleted the backport-9c239fb-3.14 branch October 20, 2026 18:37
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.

3 participants