]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124) (...
authorVictor Stinner <vstinner@python.org>
Wed, 18 Mar 2026 17:57:08 +0000 (18:57 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 17:57:08 +0000 (17:57 +0000)
commit8eeb800faf5562e6ce3805416f656ab09243c9a6
treef49c50df9b98b4ad8f8d0ceff21705573d406e8f
parent5feedc759363dec4b9e2b0630bd57b8e4eba28f7
[3.14] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124) (#146132)

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

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

(cherry picked from commit e1e4852133ea548479bc9b975420a32331df7cee)
Objects/frameobject.c
Python/ceval.c