FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124) by vstinner · Pull Request #146132 · python/cpython · GitHub

/ cpython Public

[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124) - #146132

Merged
vstinner merged 1 commit into
python:3.14from
vstinner:frame_getlocals14
Mar 18, 2026
Merged

[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124)#146132
vstinner merged 1 commit into
python:3.14from
vstinner:frame_getlocals14

Conversation

vstinner commented Mar 18, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
  • Fix _PyFrame_GetLocals() and _PyFrame_GetLocals() error handling.
  • _PyEval_ExceptionGroupMatch() now fails on _PyFrame_GetLocals() error.

(cherry picked from commit e1e4852)

…ython#146124)

* Fix _PyFrame_GetLocals() and _PyFrame_GetLocals() error handling.
* _PyEval_ExceptionGroupMatch() now fails on _PyFrame_GetLocals()
  error.

(cherry picked from commit e1e4852)
vstinner requested a review from markshannon as a code owner March 18, 2026 17:31
vstinner added the needs backport to 3.13 bugs and security fixes label Mar 18, 2026
vstinner enabled auto-merge (squash) March 18, 2026 17:32
vstinner merged commit 8eeb800 into python:3.14 Mar 18, 2026
55 of 57 checks passed
vstinner deleted the frame_getlocals14 branch March 18, 2026 17:57

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 18, 2026
…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)

bedevere-app Bot commented Mar 18, 2026

Copy link
Copy Markdown

GH-146138 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Mar 18, 2026
vstinner added a commit that referenced this pull request Mar 18, 2026
…H-146124) (GH-146132) (#146138)

[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124) (GH-146132)

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)


(cherry picked from commit e1e4852)

Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL