summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
Commit message (Collapse)AuthorAgeFilesLines
* Massive changes for separate thread state management.Guido van Rossum1997-05-051-32/+44
| | | | | All per-thread globals are moved into a struct which is manipulated separately.
* Quickly renamed. Also removed the long comment explaining why this isGuido van Rossum1997-04-291-90/+56
| | | | better than the old error API.
* Keep Microsoft VC happy.Guido van Rossum1997-04-111-0/+2
|
* (Jack:) On the Mac, use standard strerror() if using MSL C-library.Guido van Rossum1997-04-111-0/+2
|
* Oops, remove an unused variable from PyErr_Format().Guido van Rossum1997-02-141-1/+0
|
* Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+27
|
* Add const to error and newstring functionsGuido van Rossum1996-12-101-1/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* remove unwanted fatal() from err_badcall()Guido van Rossum1995-09-181-1/+0
|
* err_badcall() is fatal errorGuido van Rossum1995-08-281-0/+1
|
* Porting to CW CFM68KJack Jansen1995-06-271-1/+1
|
* changes in NT testsGuido van Rossum1995-03-091-2/+3
|
* rename macstrerror to PyMac_StrError; no EINTR test in CWGuido van Rossum1995-02-181-8/+13
|
* Undef strerror on the mac before redefining itJack Jansen1995-01-191-0/+1
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-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().
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-021-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.
* Added hook for better mac error messages.Jack Jansen1994-12-141-0/+10
|
* call err_clear in err_setvalGuido van Rossum1994-11-101-2/+2
|
* * Python/errors.c (err_clear): clear interpreter stack traceGuido van Rossum1994-09-291-1/+5
|
* err_clear: clear interpreter stack traceGuido van Rossum1994-08-291-40/+7
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-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.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-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.
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* EOF in source is a SyntaxError, not an EOFError.Guido van Rossum1992-02-051-1/+1
|
* EOF while parsing should raise EOFError, not SyntaxError.Guido van Rossum1991-12-241-1/+1
|
* Use SyntaxError.Guido van Rossum1991-12-161-4/+4
|
* Use new exceptions.Guido van Rossum1991-12-101-3/+3
|
* Check for EINTR and turn it into KeyboardInterruptGuido van Rossum1991-10-201-1/+6
| | | | in err_errno().
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Changed include of <errno.h>Guido van Rossum1990-12-201-2/+5
|
* "Compiling" versionGuido van Rossum1990-12-201-33/+50
|
* Reformulated err_badarg error message.Guido van Rossum1990-11-091-1/+1
|
* Added prototype for strerror.Guido van Rossum1990-11-021-0/+2
|
* Added intobject.h and tupleobject.h includes.Guido van Rossum1990-10-261-0/+2
|
* Added err_badcall().Guido van Rossum1990-10-211-0/+6
|
* Adde dconvenience functions.Guido van Rossum1990-10-141-0/+31
|
* Initial revisionGuido van Rossum1990-10-141-0/+111