]> granicus.if.org Git - python/commit
bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935)
authorVictor Stinner <vstinner@redhat.com>
Wed, 24 Apr 2019 14:47:40 +0000 (16:47 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2019 14:47:40 +0000 (16:47 +0200)
commit8bb3230149538c25c1bacced5e64a3c071475f73
tree85cbf4d3ed1c1c47eced4b472083b5bd2dfa39e7
parent6c44fde3e03079e0c69f823dafbe04af50b5bd0d
bpo-36710: Add runtime parameter to _PyThreadState_Init() (GH-12935)

* Add 'runtime' parameter to _PyThreadState_Init()
* Add 'gilstate' parameter to _PyGILState_NoteThreadState()
* Move _PyThreadState_Init() and _PyThreadState_DeleteExcept()
   to the internal C API.
Include/cpython/pystate.h
Include/internal/pycore_pystate.h
Modules/_threadmodule.c
Python/pystate.c