From a3c04b003f802ca676d6fb777751ae3e0ecc04a4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 12 Jan 1995 11:29:01 +0000 Subject: [PATCH] cosmetics --- Modules/Setup.in | 5 ++++- Modules/cryptmodule.c | 1 - Modules/signalmodule.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Modules/Setup.in b/Modules/Setup.in index 65c559fd9fe..44ad2b2229e 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.in @@ -264,7 +264,10 @@ rotor rotormodule.c # enigma-inspired encryption #sybase sybasemodule.c -# Generic (SunOS / SVR4) dynamic loading module +# Generic (SunOS / SVR4) dynamic loading module. +# This is not needed for dynamic loading of Python modules -- +# it is a highly experimental and dangerous device for calling +# *arbitrary* C functions in *arbitrary* shared libraries. #dl dlmodule.c diff --git a/Modules/cryptmodule.c b/Modules/cryptmodule.c index 9cdcac8b56f..13c79ba527b 100644 --- a/Modules/cryptmodule.c +++ b/Modules/cryptmodule.c @@ -2,7 +2,6 @@ */ #include "allobjects.h" -#include "modsupport.h" #include diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 97d895bc36c..1bf48923f88 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -57,7 +57,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. generated by the keyboard (e.g. SIGINT) are delivered to all threads (e.g. SGI), while in others (e.g. Solaris) such signals are delivered to one random thread (an intermediate possibility would - be to deliver it to the main thread -- POSIX???). For now, we have + be to deliver it to the main thread -- POSIX?). For now, we have a working implementation that works in all three cases -- the handler ignores signals if getpid() isn't the same as in the main thread. XXX This is a hack.