diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-01-12 11:43:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-01-12 11:43:25 (GMT) |
commit | 175af2574fca090361f04628e9b6694ba3797f3b (patch) | |
tree | fb130005dbd37bbab7a9aff9b0e11cfe3e36de0a | |
parent | 9668b933e306f92aaab5a19a4316124b00978c48 (diff) | |
download | cpython-175af2574fca090361f04628e9b6694ba3797f3b.zip cpython-175af2574fca090361f04628e9b6694ba3797f3b.tar.gz cpython-175af2574fca090361f04628e9b6694ba3797f3b.tar.bz2 |
Export SIGINFO. Fixes #502077.
-rw-r--r-- | Modules/signalmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 1053cf1..e34f051 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -544,6 +544,11 @@ initsignal(void) PyDict_SetItemString(d, "SIGXFSZ", x); Py_XDECREF(x); #endif +#ifdef SIGINFO + x = PyInt_FromLong(SIGINFO); + PyDict_SetItemString(d, "SIGINFO", x); + Py_XDECREF(x); +#endif if (!PyErr_Occurred()) return; |