diff options
author | Mark Shannon <mark@hotpy.org> | 2021-10-28 12:59:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 12:59:11 (GMT) |
commit | f291404a802d6a1bc50f817c7a26ff3ac9a199ff (patch) | |
tree | 57ad999fe2fb5febf8a48cd17dc213259b80574c /Python/traceback.c | |
parent | 0a68b3603fbc0aaf9eeb8ce8b42b78d6fa7cfa78 (diff) | |
download | cpython-f291404a802d6a1bc50f817c7a26ff3ac9a199ff.zip cpython-f291404a802d6a1bc50f817c7a26ff3ac9a199ff.tar.gz cpython-f291404a802d6a1bc50f817c7a26ff3ac9a199ff.tar.bz2 |
bpo-45637: Store the frame pointer in the cframe (GH-29267)
* Rename 'frame' to 'current_frame'
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index b18cbb9..22a0922 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -1082,7 +1082,7 @@ dump_traceback(int fd, PyThreadState *tstate, int write_header) PUTS(fd, "Stack (most recent call first):\n"); } - frame = tstate->frame; + frame = tstate->cframe->current_frame; if (frame == NULL) { PUTS(fd, " <no Python frame>\n"); return; |