diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-17 17:15:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 17:15:20 (GMT) |
commit | 0ae323b87f1bed64a7fa70f5a41a5800aca032cc (patch) | |
tree | 2aa675a3ee9e6f29d1440a84eb15559074da2460 /Python/pyarena.c | |
parent | a1f401a58b213e400fbd8f0fa8dc5260a2389dab (diff) | |
download | cpython-0ae323b87f1bed64a7fa70f5a41a5800aca032cc.zip cpython-0ae323b87f1bed64a7fa70f5a41a5800aca032cc.tar.gz cpython-0ae323b87f1bed64a7fa70f5a41a5800aca032cc.tar.bz2 |
bpo-41686: Always create the SIGINT event on Windows (GH-23344)
bpo-41686, bpo-41713: On Windows, the SIGINT event,
_PyOS_SigintEvent(), is now created even if Python is configured to
not install signal handlers (PyConfig.install_signal_handlers=0 or
Py_InitializeEx(0)).
Changes:
* Move global variables initialization from signal_exec() to
_PySignal_Init() to clarify that they are global variables cleared
by _PySignal_Fini().
* _PySignal_Fini() now closes sigint_event.
* IntHandler is no longer a global variable.
Diffstat (limited to 'Python/pyarena.c')
0 files changed, 0 insertions, 0 deletions