Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add obvious needed else clause to format_exception(). | Guido van Rossum | 1998-03-18 | 1 | -0/+2 |
| | |||||
* | New version of tb_lineno(), this time *not* using try-except, to avoid | Guido van Rossum | 1998-02-26 | 1 | -8/+8 |
| | | | | | | disturbing the current exception, and returning tb.tb_lineno, which is the line number of thr traceback, rather than the current line number. By Jim Hugunin. | ||||
* | Tweak the tb_lineno() function to be compatible with JPython, which | Guido van Rossum | 1998-02-25 | 1 | -4/+8 |
| | | | | has no line number table etc. | ||||
* | Use Marc Lemburg's tb_lineno() to calculate the correct line number. | Guido van Rossum | 1997-09-26 | 1 | -3/+21 |
| | | | | | | Apparently the traceback object doesn't contains the right linenumber when -O is used. Rather than guessing whether -O is on or off, use tb_lineno() unconditionally. | ||||
* | Use sys.exc_info() instead of sys.exc_{type,value,traceback}. | Guido van Rossum | 1997-07-18 | 1 | -9/+9 |
| | | | | Also corrected a typo in format_stack (t should've been f). | ||||
* | Changes to always call list.append with a single argument. | Guido van Rossum | 1996-10-08 | 1 | -2/+2 |
| | |||||
* | Added routines to print, format and extract the current, ``live'' stack. | Guido van Rossum | 1996-08-12 | 1 | -7/+65 |
| | | | | | Also added print_list() and format_list() which format the output from an extract_*() routine. | ||||
* | removed history comment | Guido van Rossum | 1996-05-28 | 1 | -3/+0 |
| | |||||
* | add file parameter to all printing fns, default stderr | Guido van Rossum | 1995-09-20 | 1 | -12/+30 |
| | |||||
* | added format_* functions (suggestion by Ken M) | Guido van Rossum | 1995-08-04 | 1 | -7/+31 |
| | |||||
* | handle class exceptions | Guido van Rossum | 1995-02-27 | 1 | -6/+13 |
| | |||||
* | * Lib/linecache.py: don't crash on empty filename | Guido van Rossum | 1994-08-23 | 1 | -5/+27 |
| | | | | | | | | | | | * Lib/macpath.py: don't return trailing colon for dirname() (XXX won't do for volume names -- but otherwise glob(':*:*.py') loops forever) * Lib/traceback.py: print SyntaxError correctly * Lib/stat.py: moved to posixstat.py; added macstat.py which has the constants for the Mac; and created new stat.py which includes the right one * Lib/urllib.py: fix caching bug (by disabling the cache) | ||||
* | New module, formats traceback just like the C code does | Guido van Rossum | 1994-07-01 | 1 | -0/+57 |