mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
GH-108035: Remove the _PyCFrame
struct as it is no longer needed for performance. (GH-108036)
This commit is contained in:
parent
33e6e3fec0
commit
006e44f950
21 changed files with 66 additions and 103 deletions
|
@ -1207,7 +1207,7 @@ dump_traceback(int fd, PyThreadState *tstate, int write_header)
|
|||
PUTS(fd, "Stack (most recent call first):\n");
|
||||
}
|
||||
|
||||
frame = tstate->cframe->current_frame;
|
||||
frame = tstate->current_frame;
|
||||
if (frame == NULL) {
|
||||
PUTS(fd, " <no Python frame>\n");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue