Skip to content

Commit aa99171

Browse files
authored
Merge pull request #304 from python/master
Add a comment to _Py_RestoreSignals() (pythonGH-18792)
2 parents 1732799 + efc28bb commit aa99171

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/pylifecycle.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,6 +2374,8 @@ init_signals(PyThreadState *tstate)
23742374
* All of the code in this function must only use async-signal-safe functions,
23752375
* listed at `man 7 signal` or
23762376
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
2377+
*
2378+
* If this function is updated, update also _posix_spawn() of subprocess.py.
23772379
*/
23782380
void
23792381
_Py_RestoreSignals(void)

0 commit comments

Comments
 (0)