]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41686: Refactor signal_exec() (GH-23346)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Nov 2020 17:57:32 +0000 (18:57 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 17:57:32 +0000 (18:57 +0100)
commitcda23be092f4a72e4f335cf182f11e7bd7fd98eb
treed093412ed4b64a80bbcc285ca68ba502c64a0a8d
parent0ae323b87f1bed64a7fa70f5a41a5800aca032cc
bpo-41686: Refactor signal_exec() (GH-23346)

* 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().
Modules/signalmodule.c