summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:43:25 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:43:25 (GMT)
commit175af2574fca090361f04628e9b6694ba3797f3b (patch)
treefb130005dbd37bbab7a9aff9b0e11cfe3e36de0a /Modules/signalmodule.c
parent9668b933e306f92aaab5a19a4316124b00978c48 (diff)
downloadcpython-175af2574fca090361f04628e9b6694ba3797f3b.zip
cpython-175af2574fca090361f04628e9b6694ba3797f3b.tar.gz
cpython-175af2574fca090361f04628e9b6694ba3797f3b.tar.bz2
Export SIGINFO. Fixes #502077.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c5
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;