diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2019-05-31 21:16:47 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-31 21:16:47 -0600 |
| commit | 396e0a8d9dc65453cb9d53500d0a620602656cfe (patch) | |
| tree | e960fe3a38051fd3013bae7fd1b788ca94e9aeca /Modules | |
| parent | 1c263e39c4ed28225a7dc8ca1f24953225ac48ca (diff) | |
| download | cpython-git-396e0a8d9dc65453cb9d53500d0a620602656cfe.tar.gz | |
bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)
https://bugs.python.org/issue36818
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/_threadmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c index d5e40ef999..099afd86d0 100644 --- a/Modules/_threadmodule.c +++ b/Modules/_threadmodule.c @@ -996,7 +996,7 @@ t_bootstrap(void *boot_raw) tstate = boot->tstate; tstate->thread_id = PyThread_get_thread_ident(); - _PyThreadState_Init(&_PyRuntime, tstate); + _PyThreadState_Init(tstate); PyEval_AcquireThread(tstate); tstate->interp->num_threads++; res = PyObject_Call(boot->func, boot->args, boot->keyw); |
