mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
bpo-45637: Store the frame pointer in the cframe (GH-29267)
* Rename 'frame' to 'current_frame'
This commit is contained in:
parent
0a68b3603f
commit
f291404a80
10 changed files with 42 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue