]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
PyOS_AfterFork_Child() uses PyStatus (GH-20596)
authorVictor Stinner <vstinner@python.org>
Tue, 2 Jun 2020 13:51:37 +0000 (15:51 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2020 13:51:37 +0000 (15:51 +0200)
commit26881c8fae3b67db3a01d335d3ae7356a29b433e
tree8cf867af2cd74581dc037a70e0549087d7e39fd3
parent297257f7bc198e2dc8e0866b539c73ff1a5cc588
PyOS_AfterFork_Child() uses PyStatus (GH-20596)

PyOS_AfterFork_Child() helper functions now return a PyStatus:
PyOS_AfterFork_Child() is now responsible to handle errors.

* Move _PySignal_AfterFork() to the internal C API
* Add #ifdef HAVE_FORK on _PyGILState_Reinit(), _PySignal_AfterFork()
  and _PyInterpreterState_DeleteExceptMain().
Include/internal/pycore_ceval.h
Include/internal/pycore_import.h
Include/internal/pycore_pystate.h
Include/internal/pycore_runtime.h
Include/intrcheck.h
Modules/posixmodule.c
Modules/signalmodule.c
Python/ceval.c
Python/import.c
Python/pystate.c