summaryrefslogtreecommitdiff
path: root/Python/errors.c
AgeCommit message (Collapse)AuthorLines
1997-04-11Keep Microsoft VC happy.Guido van Rossum-0/+2
1997-04-11(Jack:) On the Mac, use standard strerror() if using MSL C-library.Guido van Rossum-0/+2
1997-02-14Oops, remove an unused variable from PyErr_Format().Guido van Rossum-1/+0
1997-02-14Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum-0/+27
1996-12-10Add const to error and newstring functionsGuido van Rossum-1/+1
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1995-09-18remove unwanted fatal() from err_badcall()Guido van Rossum-1/+0
1995-08-28err_badcall() is fatal errorGuido van Rossum-0/+1
1995-06-27Porting to CW CFM68KJack Jansen-1/+1
1995-03-09changes in NT testsGuido van Rossum-2/+3
1995-02-18rename macstrerror to PyMac_StrError; no EINTR test in CWGuido van Rossum-8/+13
1995-01-19Undef strerror on the mac before redefining itJack Jansen-0/+1
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
1995-01-02Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum-7/+20
err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.
1994-12-14Added hook for better mac error messages.Jack Jansen-0/+10
1994-11-10call err_clear in err_setvalGuido van Rossum-2/+2
1994-09-29 * Python/errors.c (err_clear): clear interpreter stack traceGuido van Rossum-1/+5
1994-08-29err_clear: clear interpreter stack traceGuido van Rossum-40/+7
1993-07-05* Makefile: added all: and default: targets.Guido van Rossum-3/+0
* 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.
1993-03-16* Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum-7/+6
* Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1992-02-05EOF in source is a SyntaxError, not an EOFError.Guido van Rossum-1/+1
1991-12-24EOF while parsing should raise EOFError, not SyntaxError.Guido van Rossum-1/+1
1991-12-16Use SyntaxError.Guido van Rossum-4/+4
1991-12-10Use new exceptions.Guido van Rossum-3/+3
1991-10-20Check for EINTR and turn it into KeyboardInterruptGuido van Rossum-1/+6
in err_errno().
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20Changed include of <errno.h>Guido van Rossum-2/+5
1990-12-20"Compiling" versionGuido van Rossum-33/+50
1990-11-09Reformulated err_badarg error message.Guido van Rossum-1/+1
1990-11-02Added prototype for strerror.Guido van Rossum-0/+2
1990-10-26Added intobject.h and tupleobject.h includes.Guido van Rossum-0/+2
1990-10-21Added err_badcall().Guido van Rossum-0/+6
1990-10-14Adde dconvenience functions.Guido van Rossum-0/+31
1990-10-14Initial revisionGuido van Rossum-0/+111