]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105716: Update interp->threads.main After Fork (gh-117049)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 21 Mar 2024 16:06:35 +0000 (10:06 -0600)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2024 16:06:35 +0000 (10:06 -0600)
commit5a76d1be8ef371b75ca65166726923c249b5f615
tree80a5b914c708d1ddce4da029b85e9d8c562ed0ee
parentbbee57fa8c318cb26d6c8651254927a1972c9738
gh-105716: Update interp->threads.main After Fork (gh-117049)

I missed this in gh-109921.

We also update Py_Exit() to call _PyInterpreterState_SetNotRunningMain(), if necessary.
Include/internal/pycore_pystate.h
Modules/posixmodule.c
Python/pylifecycle.c
Python/pystate.c