mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-47045: Remove f_state
field (GH-31963)
* Remove the f_state field from _PyInterpreterFrame * Make ownership of the frame explicit, replacing the is_generator field with an owner field.
This commit is contained in:
parent
88872a29f1
commit
49daf6dba8
9 changed files with 260 additions and 220 deletions
|
@ -1843,10 +1843,7 @@ _is_running(PyInterpreterState *interp)
|
|||
if (frame == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int executing = _PyFrame_IsExecuting(frame);
|
||||
|
||||
return executing;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue