mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-81057: Move OS-Related Globals to _PyRuntimeState (gh-100082)
https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
c85be734d1
commit
cda9f0236f
14 changed files with 107 additions and 27 deletions
|
@ -26,6 +26,7 @@ extern "C" {
|
|||
}, \
|
||||
.obmalloc = _obmalloc_state_INIT(runtime.obmalloc), \
|
||||
.pyhash_state = pyhash_state_INIT, \
|
||||
.os = _OS_RUNTIME_INIT, \
|
||||
.interpreters = { \
|
||||
/* This prevents interpreters from getting created \
|
||||
until _PyInterpreterState_Enable() is called. */ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue