]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Mar 2026 17:27:52 +0000 (18:27 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 17:27:52 +0000 (18:27 +0100)
commite1e4852133ea548479bc9b975420a32331df7cee
treead9b85b192a7a44700ceb5d1c6b2e19452b49d27
parent724c7c8146f44a7c737ec4588a1ee4b9db994f6f
gh-146092: Handle _PyFrame_GetFrameObject() failures properly (#146124)

* Fix _PyFrame_GetLocals() and _PyFrame_GetLocals() error handling.
* _PyEval_ExceptionGroupMatch() now fails on _PyFrame_GetLocals()
  error.
Objects/frameobject.c
Python/ceval.c