]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38644: Make tstate more explicit inside pystate.c (GH-19182)
authorVictor Stinner <vstinner@python.org>
Thu, 26 Mar 2020 21:46:14 +0000 (22:46 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Mar 2020 21:46:14 +0000 (22:46 +0100)
commit71a3522ef85df06a3acc718107360e37e4116a15
treec9cfb0273e91a004b4f1f750619e2bc65971bfe7
parent728189884e0e128c4ffc57b785b04584d57a90c0
bpo-38644: Make tstate more explicit inside pystate.c (GH-19182)

Fix PyInterpreterState_New(): Don't call PyErr_SetString() when there
is no current Python thread state (if tstate is NULL).
Doc/c-api/init.rst
Doc/c-api/module.rst
Python/pystate.c