Skip to content

[3.13] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124) (GH-146132) - #146138

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-8eeb800-3.13
Mar 18, 2026
Merged

vstinner merged 1 commit into
python:3.13from
miss-islington:backport-8eeb800-3.13

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
39 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

3 participants