bpo-41686: Refactor signal_exec() by vstinner · Pull Request #23346 · python/cpython

@vstinner

* Add signal_add_constants() function and add ADD_INT_MACRO macro.
* The Python SIGINT handler is now installed at the end of
  signal_exec().
* Use Py_NewRef().

adorilson pushed a commit to adorilson/cpython that referenced this pull request

Mar 13, 2021
* Add signal_add_constants() function and add ADD_INT_MACRO macro.
* The Python SIGINT handler is now installed at the end of
  signal_exec().
* Use Py_NewRef().