Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (pause_doc): Sun CC complains about newline in string literal | Barry Warsaw | 1998-07-21 | 1 | -2/+2 |
| | |||||
* | # Added missing semicolon (was #ifdef'ed out in edit on Windows). | Guido van Rossum | 1998-06-28 | 1 | -1/+1 |
| | |||||
* | Added doc strings. | Guido van Rossum | 1998-06-28 | 1 | -8/+68 |
| | |||||
* | Use (void) to throw away a function result, not (void *) ! | Guido van Rossum | 1998-05-01 | 1 | -1/+1 |
| | |||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -0/+5 |
| | |||||
* | This fix (across 4 files in 3 directories) solves a subtle problem with | Guido van Rossum | 1997-11-14 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Change the signal finialization so that it also resets the signal | Guido van Rossum | 1997-11-03 | 1 | -1/+7 |
| | | | | | handlers. After this has been called, our signal handlers are no longer active! | ||||
* | Added configuration tests for presence of alarm(), pause(), and getpwent() | Guido van Rossum | 1997-08-22 | 1 | -4/+4 |
| | |||||
* | Add finialization routines; fixed some memory leaks related to this. | Guido van Rossum | 1997-08-02 | 1 | -4/+35 |
| | | | | Reset the SIGINT handler when the finalization is invoked. | ||||
* | Add sys/types.h include for pid_t when threading. | Guido van Rossum | 1997-06-06 | 1 | -0/+1 |
| | |||||
* | Tweaks to keep the Microsoft compiler quier. | Guido van Rossum | 1997-04-09 | 1 | -1/+8 |
| | |||||
* | djgpp fix (SIGMAX). | Guido van Rossum | 1997-02-14 | 1 | -0/+4 |
| | |||||
* | Arrange for PyErr_CheckSignals() to be called via Py_AddPendingCall(). | Guido van Rossum | 1997-01-21 | 1 | -1/+3 |
| | | | | | This avoids having to call sigcheck() (the same routine by its old name :-) in the ticker code in ceval.c's main interpreter loop. | ||||
* | initsignal(): Py_DECREFs really should be Py_XDECREFs in case the | Barry Warsaw | 1997-01-09 | 1 | -34/+34 |
| | | | | PyInt_FromLong's failed. | ||||
* | Several changes: | Barry Warsaw | 1997-01-03 | 1 | -105/+157 |
| | | | | | | | | | | | | | | - Conform to standard Python C coding styles. - All static symbols were renamed and shorted. - Eyeballed all return values and memory references. - Fixed a bug in signal.pause() so that exceptions raised in signal handlers are now properly caught after pause() returns. - Removed SIGCPU and SIGFSZ. We surmise that these were typos for the previously missing SIGXCPU and SIGXFSZ. | ||||
* | initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for | Barry Warsaw | 1996-12-16 | 1 | -0/+8 |
| | | | | | | | SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether these were typos or if there are systems that use these alternate names. We've checked Solaris, SunOS, and IRIX; they contain only the SIGX* names. | ||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -0/+4 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Use correct field of sigaction struct | Guido van Rossum | 1996-05-29 | 1 | -1/+1 |
| | |||||
* | Use sigaction if possible | Guido van Rossum | 1996-05-23 | 1 | -0/+6 |
| | |||||
* | use PyCallable_Check; split some lines | Guido van Rossum | 1995-03-16 | 1 | -12/+19 |
| | |||||
* | added PyErr_SetInterrupt(); NT ifdefs | Guido van Rossum | 1995-03-10 | 1 | -1/+16 |
| | |||||
* | rename sigcheck so signal handling works again | Guido van Rossum | 1995-01-22 | 1 | -1/+1 |
| | |||||
* | cosmetics | Guido van Rossum | 1995-01-12 | 1 | -1/+1 |
| | |||||
* | cosmetic changes so these modules will work with the strict new naming scheme | Guido van Rossum | 1995-01-10 | 1 | -7/+6 |
| | |||||
* | do not call newmethodobject directly | Guido van Rossum | 1995-01-07 | 1 | -5/+3 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment. | ||||
* | Another bulky set of minor changes. | Guido van Rossum | 1995-01-02 | 1 | -3/+6 |
| | | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads. | ||||
* | * various modules: #include "Python.h" and remove most remporary | Guido van Rossum | 1994-09-14 | 1 | -5/+10 |
| | | | | renaming hacks | ||||
* | Setup.in: added tkinter; rearranged the definition of PYTHONPATH so | Guido van Rossum | 1994-09-07 | 1 | -188/+193 |
| | | | | | | | | | | | | | | that the module-specific components are in the section for that module. cursesmodule.c: patched it so it actually works. tkintermodule.c: call Py_AtExit instead of atexit(). signalmodule.c: converted to new naming style; added BGN/END SAVE around pause() call. socketmodule.c: added setblocking() after Tommy Burnette. | ||||
* | * Modules/signalmodule.c: added pause(). | Guido van Rossum | 1994-08-23 | 1 | -1/+13 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -0/+14 |
| | |||||
* | * Modules/signalmodule.c: added thread compatibility (only main | Guido van Rossum | 1994-06-23 | 1 | -25/+91 |
| | | | | | | thread uses signals); much improved efficiency; intrcheck() doesn't call sigcheck() but only tests and clears the SIGINT tripped flag. | ||||
* | Speed up checking for signals and define intrcheck differently | Guido van Rossum | 1994-05-31 | 1 | -6/+14 |
| | |||||
* | New experimental modules -- signal and sybase | Guido van Rossum | 1994-05-11 | 1 | -0/+355 |