SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 129 Python

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.
V
Victor Stinner committed
0ae323b87f1bed64a7fa70f5a41a5800aca032cc
Parent: a1f401a
Committed by GitHub <noreply@github.com> on 11/17/2020, 5:15:20 PM