cpython/Modules
Guido van Rossum 359bcaa539 This fix (across 4 files in 3 directories) solves a subtle problem with
signal handlers in a fork()ed child process when Python is compiled with
thread support.  The bug was reported by Scott <scott@chronis.icgroup.com>.

What happens is that after a fork(), the variables used by the signal
module to determine whether this is the main thread or not are bogus,
and it decides that no thread is the main thread, so no signals will
be delivered.

The solution is the addition of PyOS_AfterFork(), which fixes the signal
module's variables.  A dummy version of the function is present in the
intrcheck.c source file which is linked when the signal module is not
used.
1997-11-14 22:24:28 +00:00
..
Makefile.pre.in Change sharedmodules to lib-dynload. 1997-10-20 23:20:32 +00:00
Setup.in Add the Setup line for the pcre module. 1997-10-07 16:17:55 +00:00
_cursesmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
_tkinter.c Darn. When thread support is disabled, the BEGIN/END macros don't 1997-10-10 17:39:19 +00:00
almodule.c New version by Sjoerd, with support for IRIX 6 audio library. 1997-04-03 17:06:32 +00:00
arraymodule.c Added buffer_info() method that returns address and length in bytes of 1997-08-12 14:55:56 +00:00
audioop.c Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov) 1997-10-31 20:32:13 +00:00
binascii.c Converted to new exception style (Jack) 1997-10-08 15:26:07 +00:00
bsddbmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
cPickle.c In whichmodule(), use __module__ if set. 1997-09-28 05:38:51 +00:00
cStringIO.c #Plug small memory leaks in constructors. 1997-09-03 18:19:40 +00:00
cdmodule.c Oops, forgot one. 1997-10-01 04:43:39 +00:00
cgen.py Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
cgensupport.c Moved here from ../Python and quickly renamed. 1997-04-29 15:43:55 +00:00
cgensupport.h Moved rename2's macros relevant to this module here and added comment 1997-04-29 15:35:28 +00:00
clmodule.c lots of "goto error" replaced by "return" (Jack) 1997-10-08 15:26:28 +00:00
cmathmodule.c New form of PyFPE_END_PROTECT macro. 1997-03-14 04:32:50 +00:00
config.c.in Renamed inittab. 1997-04-29 20:31:59 +00:00
cryptmodule.c renamed grandly. 1996-12-09 23:14:26 +00:00
cstubs Quickly renamed. 1997-04-29 15:39:28 +00:00
dbmmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
dlmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
errnomodule.c Got rid of the errorstr dictionary, which is redundant now that 1997-11-04 20:22:24 +00:00
fcntlmodule.c Keep gcc -Wall happy 1997-08-15 02:52:08 +00:00
flmodule.c Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
fmmodule.c Renamed, but not tested. Guido will you try your test script on this? 1997-01-17 16:08:55 +00:00
fpectlmodule.c Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
fpetestmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
gdbmmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
getbuildinfo.c Include macbuildno.h here (mac only) (Jack) 1997-10-08 15:26:56 +00:00
getpath.c Change sharedmodules to lib-dynload. 1997-10-20 23:20:32 +00:00
glmodule.c Hm. What was previously checked in was the edited *output* of the old 1997-04-29 15:46:43 +00:00
grpmodule.c Nailed a couple of memory leaks, caught by Purify. 1997-01-09 22:22:05 +00:00
imageop.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
imgfile.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
ld_so_aix Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
license.terms Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
main.c Take out the setlocale() call. It affects atof() and will break 1997-10-31 18:25:15 +00:00
makesetup Forgot to add .cxx and .cpp to the second case statement. 1997-10-21 19:30:29 +00:00
makexp_aix Re-install aix files (what happened?) 1996-08-08 19:05:09 +00:00
mathmodule.c Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) 1997-05-20 15:59:04 +00:00
md5.h Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
md5c.c Always include config.h 1996-08-19 22:12:39 +00:00
md5module.c Renamed 1996-12-09 22:32:36 +00:00
mpzmodule.c Use a trick to make the test for GMP v2 to work when GMP v1 defines 1997-08-17 19:08:33 +00:00
newmodule.c Two more arguments to newcodeobject -- first lineno and lineno table. 1997-01-24 03:58:52 +00:00
nismodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
operator.c #Plug small memory leaks in constructors. 1997-09-03 18:19:40 +00:00
parsermodule.c Remove requirement for strdup() since it causes so many troubles for too many 1997-10-09 16:29:31 +00:00
pcre-internal.h New "re" regular expression support. 1997-10-06 14:43:11 +00:00
pcre.h New "re" regular expression support. 1997-10-06 14:43:11 +00:00
pcremodule.c Add proper (getattrfunc) cast in Pcre_Type. 1997-10-20 23:21:23 +00:00
posixmodule.c This fix (across 4 files in 3 directories) solves a subtle problem with 1997-11-14 22:24:28 +00:00
puremodule.c (puremodule.c): New module which exports the Purify and Quantify C API 1997-01-17 00:01:33 +00:00
pwdmodule.c Added configuration tests for presence of alarm(), pause(), and getpwent() 1997-08-22 20:42:00 +00:00
pypcre.c Checking in AMK's latest installement. 1997-10-08 02:07:40 +00:00
python.c Keep gcc -Wall happy 1997-08-15 02:52:08 +00:00
readline.c Darn. When thread support is disabled, the BEGIN/END macros don't 1997-10-10 17:39:19 +00:00
regexmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
regexpr.c Get rid of most silly #include and #ifdefs near the top; these are all 1997-09-05 01:48:48 +00:00
regexpr.h Change [_Py_]re_compile_pattern() to return a char*. 1997-09-03 00:47:36 +00:00
reopmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
resource.c Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose). 1997-10-31 16:55:51 +00:00
rgbimgmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
rotormodule.c workaround for Mac MSL header definitions of TRUE and FALSE (Jack) 1997-05-20 15:58:36 +00:00
selectmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
sgimodule.c Great renaming. 1996-12-10 00:32:31 +00:00
signalmodule.c This fix (across 4 files in 3 directories) solves a subtle problem with 1997-11-14 22:24:28 +00:00
socketmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
soundex.c Add case for 'R' and a little bit of cleanup. Andrew Kuchling. 1996-12-05 23:41:26 +00:00
stdwinmodule.c Add getintarg(), getlongarg(), getstrarg() to macros since these no 1997-10-20 23:22:07 +00:00
stropmodule.c Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
structmodule.c Fix due to Bill Noon for problem discovered by Ken Manheimer: packing 1997-11-04 17:12:33 +00:00
sunaudiodev.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
svmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
syslogmodule.c (puremodule.c): New module which exports the Purify and Quantify C API 1997-01-17 00:01:33 +00:00
tclNotify.c Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
termios.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
threadmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
timemodule.c Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep() 1997-11-03 22:04:46 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c Renamed. 1997-01-13 22:57:42 +00:00
tkappinit.c Add sections for PIL (Fred Lundh). 1997-05-14 19:22:11 +00:00
xxmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
yuv.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
yuvconvert.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
zlibmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00