diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-05 17:13:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 17:13:56 (GMT) |
commit | efc28bbbeee07867669dfbf49385d6a2147fe631 (patch) | |
tree | 7ed47b3eb726c881d70289f0317cb4222e5e75d3 /Python/pylifecycle.c | |
parent | f7b5d419bf871d9cc898982c7b6b4c043f7d5e9d (diff) | |
download | cpython-efc28bbbeee07867669dfbf49385d6a2147fe631.zip cpython-efc28bbbeee07867669dfbf49385d6a2147fe631.tar.gz cpython-efc28bbbeee07867669dfbf49385d6a2147fe631.tar.bz2 |
Add a comment to _Py_RestoreSignals() (GH-18792)
subprocess _posix_spawn() should stay in sync with _Py_RestoreSignals().
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 7fa165b..84ced42 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -2374,6 +2374,8 @@ init_signals(PyThreadState *tstate) * All of the code in this function must only use async-signal-safe functions, * listed at `man 7 signal` or * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html. + * + * If this function is updated, update also _posix_spawn() of subprocess.py. */ void _Py_RestoreSignals(void) |