mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #22869: Split pythonrun into two modules
- interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
This commit is contained in:
parent
66fb349d6c
commit
d600951748
16 changed files with 1701 additions and 1587 deletions
|
@ -304,7 +304,7 @@ signal_handler(int sig_num)
|
|||
if (sig_num != SIGCHLD)
|
||||
#endif
|
||||
/* If the handler was not set up with sigaction, reinstall it. See
|
||||
* Python/pythonrun.c for the implementation of PyOS_setsig which
|
||||
* Python/pylifecycle.c for the implementation of PyOS_setsig which
|
||||
* makes this true. See also issue8354. */
|
||||
PyOS_setsig(sig_num, signal_handler);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue