diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-11-15 09:45:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 09:45:11 -0700 |
commit | 3c57971a2d3b6d2c6fd1f525ba2108fccb35add2 (patch) | |
tree | 697c28707c62e43c9a444af3069304b8fad2e54b /Python/pylifecycle.c | |
parent | 73943cbc4c5e97f71b76150c549d07e8ed00066b (diff) | |
download | cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.gz cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.zip |
gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)
This is the first of several changes to consolidate non-object globals in core code.
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 44f844249b1..7ca284ef1ef 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -600,6 +600,8 @@ pycore_init_runtime(_PyRuntimeState *runtime, */ _PyRuntimeState_SetFinalizing(runtime, NULL); + _Py_InitVersion(); + status = _Py_HashRandomization_Init(config); if (_PyStatus_EXCEPTION(status)) { return status; |