From 175af2574fca090361f04628e9b6694ba3797f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 12 Jan 2002 11:43:25 +0000 Subject: Export SIGINFO. Fixes #502077. --- Modules/signalmodule.c | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v0.12