mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
gh-81057: Move time Globals to _PyRuntimeState (gh-100122)
https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
cda9f0236f
commit
8a3f06c54b
14 changed files with 100 additions and 118 deletions
|
@ -606,6 +606,11 @@ pycore_init_runtime(_PyRuntimeState *runtime,
|
|||
return status;
|
||||
}
|
||||
|
||||
status = _PyTime_Init();
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
status = _PyImport_Init();
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue