]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Mar 2026 20:23:26 +0000 (21:23 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 20:23:26 +0000 (21:23 +0100)
commit53b544a6a7d14fbbb07a18b3c324ac5167d0597f
tree9916d73359f6c293ea88025698f2daa217bdb1b6
parentc7d7e1c1a023c0b98ffb8e383fa03934bc834d65
[3.13] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-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 8eeb800faf5562e6ce3805416f656ab09243c9a6)

(cherry picked from commit e1e4852133ea548479bc9b975420a32331df7cee)

Co-authored-by: Victor Stinner <vstinner@python.org>
Objects/frameobject.c
Python/ceval.c