diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2017-05-23 02:46:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-23 02:46:40 (GMT) |
commit | e377416c10eb0bf055b0728cdcdc4488fdfd3b5f (patch) | |
tree | 26dac18a3dfca605d0d09a61603b70a7d635e3b5 /Python/pylifecycle.c | |
parent | 93fc20b73eea3da0b6305aaee951e5dd22d5c408 (diff) | |
download | cpython-e377416c10eb0bf055b0728cdcdc4488fdfd3b5f.zip cpython-e377416c10eb0bf055b0728cdcdc4488fdfd3b5f.tar.gz cpython-e377416c10eb0bf055b0728cdcdc4488fdfd3b5f.tar.bz2 |
bpo-29102: Add a unique ID to PyInterpreterState. (#1639)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index c0f41b3..90f8551 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -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"); |