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:
Mark Shannon 2022-03-22 12:57:19 +00:00 committed by GitHub
parent 88872a29f1
commit 49daf6dba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 260 additions and 220 deletions

View file

@ -1843,10 +1843,7 @@ _is_running(PyInterpreterState *interp)
if (frame == NULL) {
return 0;
}
int executing = _PyFrame_IsExecuting(frame);
return executing;
return 1;
}
static int