mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
bpo-29102: Add a unique ID to PyInterpreterState. (#1639)
This commit is contained in:
parent
93fc20b73e
commit
e377416c10
8 changed files with 152 additions and 7 deletions
|
@ -344,6 +344,7 @@ _Py_InitializeEx_Private(int install_sigs, int install_importlib)
|
|||
|
||||
_PyRandom_Init();
|
||||
|
||||
_PyInterpreterState_Init();
|
||||
interp = PyInterpreterState_New();
|
||||
if (interp == NULL)
|
||||
Py_FatalError("Py_Initialize: can't make first interpreter");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue