cpython/Include
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 Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
Python.h Mass checkin (more to follow for other directories). 1997-08-02 02:56:48 +00:00
abstract.h A few comment alignment and clarifications. 1997-03-04 18:31:47 +00:00
bitset.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
cStringIO.h Use K&R function prototypes. 1997-10-07 14:44:48 +00:00
ceval.h Inline PyObject_CallObject (Marc-Andre Lemburg). 1997-08-30 15:02:50 +00:00
classobject.h Remove redundant references to thread stuff -- long, long ago, there 1997-03-14 04:25:22 +00:00
cobject.h New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() and 1997-10-21 19:48:35 +00:00
compile.h Add co_firstlineno and co_lnotab, for the line number table generated 1997-01-24 03:41:09 +00:00
complexobject.h Add prototypes for c_sum() etc. 1996-08-19 22:04:54 +00:00
config.h all: 1994 copyright 1994-01-02 00:11:39 +00:00
dictobject.h Subsumed mappingobject.h in dictobject.h. 1997-05-13 21:23:32 +00:00
errcode.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
eval.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
fileobject.h flushline and writestring can now return an error 1997-05-22 22:23:46 +00:00
floatobject.h Add cast to PyFloat_AS_DOUBLE macro, as suggested by Marc Lemburg. 1997-08-02 02:40:58 +00:00
frameobject.h Massive changes for separate thread state management. 1997-05-05 20:56:21 +00:00
funcobject.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
graminit.h Added assert grammar. 1997-04-02 05:24:08 +00:00
grammar.h Added prototype for PyGrammar_RemoveAccelerators(). 1997-08-12 14:57:08 +00:00
import.h Remove the declaration of "internal" table _PyImport_Inittab[]; add 1997-10-31 18:36:47 +00:00
intobject.h Add cast to PyInt_AS_LONG macro, as suggested by Marc Lemburg. 1997-08-02 02:41:13 +00:00
intrcheck.h This fix (across 4 files in 3 directories) solves a subtle problem with 1997-11-14 22:24:28 +00:00
listobject.h added PyList_GET_SIZE macro 1997-01-06 22:42:00 +00:00
longintrepr.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
longobject.h Added PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong(). 1997-01-03 17:14:46 +00:00
marshal.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
metagrammar.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
methodobject.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
modsupport.h Removed special Windows defines, at Mark Hammond's request. 1997-09-29 23:29:08 +00:00
moduleobject.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
mymalloc.h Completely disable the declarations for malloc() and friends. Use 1997-08-21 16:13:37 +00:00
mymath.h Workaround for bug in Metrowerks MSL headers on 68K Macs (Jack) 1997-05-20 15:58:15 +00:00
myproto.h Oops, rename2.h was included by some other headers. 1997-05-07 23:50:40 +00:00
myselect.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
mytime.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
node.h Rename DEBUG macro to Py_DEBUG 1996-12-30 16:17:54 +00:00
object.h #Added prototype for PyObject_HasAttr() -- must've been an oversight. 1997-09-06 18:44:59 +00:00
objimpl.h Oops, another forgotten renaming: varobject -> PyVarObject. 1997-05-15 21:31:03 +00:00
opcode.h Get rid of obsolete ACCESS_MODE opcode. 1997-05-09 00:39:04 +00:00
osdefs.h djgpp support. 1997-02-14 16:36:08 +00:00
parsetok.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
patchlevel.h Set it to 1.5a4, now we have dotted-name import... 1997-09-08 02:17:31 +00:00
pgenheaders.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
pydebug.h Added NoSite flag. 1997-08-29 22:34:00 +00:00
pyerrors.h New API PyErr_NewException(name, base, dict) to create simple new exceptions. 1997-09-16 21:50:37 +00:00
pyfpe.h Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
pystate.h Mass checkin (more to follow for other directories). 1997-08-02 02:56:48 +00:00
pythonrun.h Declarations for two phase initialization and finalization functions 1997-08-29 21:57:07 +00:00
pythread.h Massive changes for separate thread state management. 1997-05-05 20:56:21 +00:00
rangeobject.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
rename1.h __builtins__ mods (and sys_checkinterval for ceval.c) 1995-01-09 17:53:26 +00:00
rename2.h Oops, another forgotten renaming: varobject -> PyVarObject. 1997-05-15 21:31:03 +00:00
sliceobject.h Forget about Ellipses b/w compatibility. 1996-10-16 04:18:36 +00:00
stringobject.h Two speedup hacks. Caching the hash saves recalculation of a string's 1997-01-18 07:53:23 +00:00
structmember.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
sysmodule.h Mass checkin (more to follow for other directories). 1997-08-02 02:56:48 +00:00
thread.h Massive changes for separate thread state management. 1997-05-05 20:56:21 +00:00
token.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
traceback.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
tupleobject.h added PyTuple_GET_SIZE macro 1997-01-06 22:44:27 +00:00