summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-03-25 12:57:50 +0000
committerGitHub <noreply@github.com>2022-03-25 12:57:50 +0000
commitd7163bb35d1ed46bde9affcd4eb267dfd0b703dd (patch)
tree50ced5b75c3e1579c4e23fd7c404ac33c53b7fc3 /Python/errors.c
parentb68431fadb3150134ac6ccbf501cdfeaf4c75678 (diff)
downloadpython-d7163bb35d1ed46bde9affcd4eb267dfd0b703dd.tar.gz
python-d7163bb35d1ed46bde9affcd4eb267dfd0b703dd.zip
bpo-42197: Don't create `f_locals` dictionary unless we actually need it. (GH-32055)
* `PyFrame_FastToLocalsWithError` and `PyFrame_LocalsToFast` are no longer called during profile and tracing. (Contributed by Fabio Zadrozny) * Make accesses to a frame's `f_locals` safe from C code, not relying on calls to `PyFrame_FastToLocals` or `PyFrame_LocalsToFast`. * Document new `PyFrame_GetLocals` C-API function.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions