mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
GH-99205: remove _static
field from PyThreadState
and PyInterpreterState
(GH-99385)
This commit is contained in:
parent
e874c2f198
commit
dc3e4350a5
4 changed files with 6 additions and 18 deletions
|
@ -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, \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue