GH-99205: remove _static field from PyThreadState and PyInterpreterState (GH-99385)

This commit is contained in:
Kumar Aditya 2022-11-15 06:05:37 +05:30 committed by GitHub
parent e874c2f198
commit dc3e4350a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 18 deletions

View file

@ -83,7 +83,6 @@ extern "C" {
#define _PyInterpreterState_INIT \
{ \
._static = 1, \
.id_refcount = -1, \
DLOPENFLAGS_INIT \
.ceval = { \
@ -108,7 +107,6 @@ extern "C" {
#define _PyThreadState_INIT \
{ \
._static = 1, \
.py_recursion_limit = Py_DEFAULT_RECURSION_LIMIT, \
.context_ver = 1, \
}