summaryrefslogtreecommitdiff
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-10-28 13:59:11 +0100
committerGitHub <noreply@github.com>2021-10-28 13:59:11 +0100
commitf291404a802d6a1bc50f817c7a26ff3ac9a199ff (patch)
tree57ad999fe2fb5febf8a48cd17dc213259b80574c /Python/pylifecycle.c
parent0a68b3603fbc0aaf9eeb8ce8b42b78d6fa7cfa78 (diff)
downloadcpython-git-f291404a802d6a1bc50f817c7a26ff3ac9a199ff.tar.gz
bpo-45637: Store the frame pointer in the cframe (GH-29267)
* Rename 'frame' to 'current_frame'
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 9ce845ca61..3ccf32ab1b 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -2031,7 +2031,7 @@ Py_EndInterpreter(PyThreadState *tstate)
if (tstate != _PyThreadState_GET()) {
Py_FatalError("thread is not current");
}
- if (tstate->frame != NULL) {
+ if (tstate->cframe->current_frame != NULL) {
Py_FatalError("thread still has a frame");
}
interp->finalizing = 1;