bpo-45637: Store the frame pointer in the cframe (GH-29267)

* Rename 'frame' to 'current_frame'
This commit is contained in:
Mark Shannon 2021-10-28 13:59:11 +01:00 committed by GitHub
parent 0a68b3603f
commit f291404a80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 42 additions and 41 deletions

View file

@ -1839,7 +1839,7 @@ _is_running(PyInterpreterState *interp)
}
assert(!PyErr_Occurred());
InterpreterFrame *frame = tstate->frame;
InterpreterFrame *frame = tstate->cframe->current_frame;
if (frame == NULL) {
return 0;
}