Skip to content

[3.14] gh-129605: Add more exception handling when computing suggestions in traceback.py (GH-129632) - #159994

Merged
ambv merged 1 commit into
python:3.14from
ambv:backport-97b5f24-3.14
Oct 21, 2026
Merged

ambv merged 1 commit into
python:3.14from
ambv:backport-97b5f24-3.14

Conversation

@ambv

@ambv ambv commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #129632 to the 3.14 branch.

Conflict in Lib/traceback.py resolved manually: main has newer not_normalized logic that does not exist on 3.14, so the backport wraps 3.14's NameError frame-walking block in try/except Exception: return None exactly as the original PR does, minus the not_normalized lines.

…ggestions in traceback.py (pythonGH-129632)

(cherry picked from commit 97b5f24)

Co-authored-by: Adam D. Thomas <adamt@diversityarrays.com>
Co-authored-by: Muse Code (Meta Muse Spark)
@ambv
ambv merged commit a14a97f into python:3.14 Oct 21, 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