]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-100987: Don't cache references to the names and consts array in `_PyEval_EvalFrame...
authorMark Shannon <mark@hotpy.org>
Mon, 13 Mar 2023 18:35:37 +0000 (18:35 +0000)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 18:35:37 +0000 (18:35 +0000)
commit2d370da5702f07d044f0e612df68172852b89f42
treea35c9fc102a39fc70ae187e1be07ea786298bccc
parent634cb61909b1392f0eef3e749931777adb54f16e
GH-100987: Don't cache references to the names and consts array in `_PyEval_EvalFrameDefault`. (#102640)

* Rename local variables, names and consts, from the interpeter loop. Will allow non-code objects in frames for better introspection of C builtins and extensions.

* Remove unused dummy variables.
Python/bytecodes.c
Python/ceval.c
Python/generated_cases.c.h