diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-12-08 15:38:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 15:38:06 -0700 |
commit | cda9f0236fd7800c6db5eec207668c4bfec4a45d (patch) | |
tree | 8271573ec183d16da788eaba0e83a8ec65572d76 /Include/internal/pycore_runtime_init.h | |
parent | c85be734d1823f02a3600d7cd9195cecbf51afe8 (diff) | |
download | cpython-cda9f0236fd7800c6db5eec207668c4bfec4a45d.tar.gz cpython-cda9f0236fd7800c6db5eec207668c4bfec4a45d.zip |
gh-81057: Move OS-Related Globals to _PyRuntimeState (gh-100082)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r-- | Include/internal/pycore_runtime_init.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h index ab53876e355..70263892e57 100644 --- a/Include/internal/pycore_runtime_init.h +++ b/Include/internal/pycore_runtime_init.h @@ -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. */ \ |