summaryrefslogtreecommitdiffstats
path: root/Python/traceback.c
Commit message (Collapse)AuthorAgeFilesLines
* Massive changes for separate thread state management.Guido van Rossum1997-05-051-30/+6
| | | | | All per-thread globals are moved into a struct which is manipulated separately.
* Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set.Guido van Rossum1997-05-051-2/+3
|
* Quickly renamed.Guido van Rossum1997-04-291-57/+57
|
* Keep gcc -Wall and Microsoft VC happy.Guido van Rossum1997-04-111-1/+1
|
* Get the line number from PyCode_Addr2Line instead of believingGuido van Rossum1997-01-241-1/+4
| | | | tb_lineno. Store it in tb_lineno for the user.
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* spell TraceBack with capital BGuido van Rossum1995-09-181-2/+2
|
* keyword arguments and faster callsGuido van Rossum1995-07-181-3/+4
|
* ignore control-l (parallelling change to tokenizer.c)Guido van Rossum1995-07-071-1/+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-1/+0
| | | | | | 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.
* * Python/traceback.c: security fix -- check for buffer oveflowGuido van Rossum1994-09-291-1/+6
| | | | before concatenating sys.path item and module name
* add function name to traceback infoGuido van Rossum1994-08-291-15/+15
| | | | MPW fixes
* * mpzmodule.c: cast some methods to the proper type.Guido van Rossum1993-12-171-5/+23
| | | | | | | * traceback.c (tb_print): use sys.tracebacklimit as a maximum number of traceback entries to print (default 1000). * ceval.c (printtraceback): Don't print stack trace header -- this is now done by tb_print().
* * 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
* Modified most (but not yet all) I/O to always go through sys.stdout orGuido van Rossum1992-09-251-16/+19
| | | | | | sys.stderr or sys.stdin, and to work with any object as long as it has a write() (respectively readline()) methods. Some functions that took a FILE* argument now take an object* argument.
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Move printing of filename and lineno to tb_displayline.Guido van Rossum1992-02-261-20/+45
| | | | | Search sys.path if the filename isn't found. Include osdefs.h.
* tb_here() can now get the lasti and lineno arguments from the frame.Guido van Rossum1992-01-141-4/+2
|
* Don't use printobject() to print a string (filename).Guido van Rossum1991-06-241-7/+10
| | | | Print ';' instead of ',' between file and line for MPW.
* printobject now returns an error codeGuido van Rossum1991-06-071-4/+6
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-0/+193