]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40268: Add pycore_runtime.h header file (GH-19493)
authorVictor Stinner <vstinner@python.org>
Mon, 13 Apr 2020 09:45:21 +0000 (11:45 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 09:45:21 +0000 (11:45 +0200)
commit1c4cbdf94dbb4a6ac1093d2fa7a75efa802b25bc
treee83ac1dbc56e942701d0ac73ce722a90ddedfa22
parent0135598d729d01f35ce08d47160adaa095a6149f
bpo-40268: Add pycore_runtime.h header file (GH-19493)

Move PyRuntimeState from pycore_pystate.h to pycore_runtime.h.

Remove _PyGILState_check_enabled macro: access directly
_PyRuntime.gilstate.check_enabled.
Include/internal/pycore_pystate.h
Include/internal/pycore_runtime.h [new file with mode: 0644]
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/pylifecycle.c
Python/pystate.c