◐ Shell
clean mode source ↗

[3.13] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124) (GH-146132) by miss-islington · Pull Request #146138 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@miss-islington

Copy link Copy Markdown

Contributor

gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124)

  • Fix _PyFrame_GetLocals() and _PyFrame_GetLocals() error handling.
  • _PyEval_ExceptionGroupMatch() now fails on _PyFrame_GetLocals()
    error.
    (cherry picked from commit 8eeb800)

Co-authored-by: Victor Stinner vstinner@python.org
(cherry picked from commit e1e4852)

…perly (pythonGH-146124) (pythonGH-146132)

pythongh-146092: Handle _PyFrame_GetFrameObject() failures properly (pythonGH-146124)

* Fix _PyFrame_GetLocals() and _PyFrame_GetLocals() error handling.
* _PyEval_ExceptionGroupMatch() now fails on _PyFrame_GetLocals()
  error.
(cherry picked from commit 8eeb800)

Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit e1e4852)

@vstinner vstinner merged commit 53b544a into python:3.13

Mar 18, 2026

44 checks passed

@miss-islington miss-islington deleted the backport-8eeb800-3.13 branch

March 18, 2026 20:23

@vstinner

Copy link Copy Markdown

Member

Merged. Thanks for checking @serhiy-storchaka.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@serhiy-storchaka serhiy-storchaka serhiy-storchaka approved these changes

@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington @vstinner @serhiy-storchaka