summaryrefslogtreecommitdiffstats
path: root/Parser/intrcheck.c
Commit message (Collapse)AuthorAgeFilesLines
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-021-0/+4
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Charles Waldman's patch to reinitialize the interpreter lock after aGuido van Rossum2000-08-271-0/+3
| | | | | | | fork. This solves the test_fork1 problem. (ceval.c, signalmodule.c, intrcheck.c) SourceForge: [ Patch #101226 ] make threading fork-safe
* Simplified inclusions and avoid prototypes copied in from elsewhere.Fred Drake2000-08-231-12/+1
| | | | This also avoids a warning in anal mode.
* merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp2000-07-311-1/+0
| | | | marked my*.h as obsolete
* Use 'void' directly instead of the ANY #define, now that all code is ANSI C.Thomas Wouters2000-07-251-2/+1
| | | | Leave the actual #define in for API compatibility.
* Removed all instances of RETSIGTYPE from the source code: signalTim Peters2000-07-231-3/+2
| | | | | | | handlers "return void", according to ANSI C. Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro. Left RETSIGTYPE in the config stuff, because it's not clear to me that others aren't relying on it (e.g., extension modules).
* Recent ANSIfication introduced a couple instances ofTim Peters2000-07-231-3/+1
| | | | | | | | | | | #if RETSIGTYPE != void That isn't C, and MSVC properly refuses to compile it. Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h to expand to the correct thing based on RETSIGTYPE. However, only void is ANSI! Do we still have platforms that return int? The Unix config mess appears to #define RETSIGTYPE by magic without being asked to, so I assume it's "a problem" across Unices still.
* Remember to return something if RETSIGTYPE is not 'void'. Do we still needThomas Wouters2000-07-221-0/+3
| | | | | to worry about systems that have signal-handlers return 'int' ? Not all of the code does, though nothing will break because of it.
* Mass ANSIfication.Thomas Wouters2000-07-221-24/+24
| | | | | | Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments.
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-2/+2
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Need to add default decl of DL_IMPORT, for mymalloc.hGuido van Rossum1998-12-041-0/+6
|
* Patch for QNX, by Chris Herborth.Guido van Rossum1997-12-021-2/+2
|
* This fix (across 4 files in 3 directories) solves a subtle problem withGuido van Rossum1997-11-141-0/+5
| | | | | | | | | | | | | | | 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.
* Added finalization routines.Guido van Rossum1997-08-021-1/+24
|
* Another directory quickly renamed.Guido van Rossum1997-04-291-12/+12
|
* Added decl for Py_AddPendingCall and include mymalloc.h, all to keepGuido van Rossum1997-02-141-0/+4
| | | | lint happy.
* In the Unix version, arrange for sigcheck() to be called viaGuido van Rossum1997-01-211-0/+3
| | | | | Py_AddPendingCall(). This avoids having to call sigcheck() in the ticker code in ceval.c's main interpreter loop.
* Make gcc -Wall happyGuido van Rossum1996-12-021-0/+3
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Always include config.hGuido van Rossum1996-08-191-3/+0
|
* added PyErr_SetInterrupt()Guido van Rossum1995-03-101-0/+6
|
* remove last bits of mac specific codeGuido van Rossum1995-01-301-8/+0
|
* Mac interrupt code moved to macglue.cJack Jansen1995-01-271-76/+1
|
* New cmd-. handling for the mac.Jack Jansen1995-01-261-15/+21
|
* typoGuido van Rossum1995-01-201-1/+1
|
* Added mac-only intrpeek routine that peeks for command-.Jack Jansen1995-01-191-5/+30
|
* made interrupted static againGuido van Rossum1995-01-171-1/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
|
* * Parser/intrcheck.c: make 'interrupted' global (forgot forGuido van Rossum1994-09-281-1/+1
| | | | whom...)
* Merge back to main trunkGuido van Rossum1994-08-301-14/+68
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-1/+14
| | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
* (I suggest a recompile after getting this, the ceval.c bugfix may be crucial!)Guido van Rossum1993-04-151-0/+9
| | | | | | | * Makefile: removed superfluous AR=ar, fixed misleading comment. * ceval.c: fixed debugging code; save/restore errors in locals_2_fast. * intrcheck.c: for SunOS etc., turn off syscall resumption. * regexpr.h: bump number of registers to 100.
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* lintGuido van Rossum1992-03-271-1/+2
|
* Added a header file.Guido van Rossum1992-01-191-0/+4
|
* Reorganized somewhat to make it really work on Think C.Guido van Rossum1991-07-011-10/+5
| | | | Hope the best for MPW 3.
* Generalize to macintosh.Guido van Rossum1991-06-241-12/+22
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Mac version now looks ahead in event queue instead of eating events.Guido van Rossum1991-01-161-10/+35
| | | | Much better!
* "Compiling" versionGuido van Rossum1990-12-201-3/+3
|
* Initial revisionGuido van Rossum1990-10-141-0/+95