Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF #737473: Show up-to-date source code in tracebacks always. | Hye-Shik Chang | 2004-10-26 | 1 | -0/+3 |
| | | | | | And add an optional argument 'filename' to linecache.checkcache() to enable checking caches per-file. | ||||
* | Whitespace normalization. | Tim Peters | 2004-01-18 | 1 | -1/+1 |
| | |||||
* | Add traceback.format_exc(). | Neil Schemenauer | 2003-11-05 | 1 | -2/+12 |
| | |||||
* | This is my patch | Michael W. Hudson | 2002-08-15 | 1 | -22/+5 |
| | | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change. | ||||
* | Replaced boolean tests with is None. | Raymond Hettinger | 2002-06-02 | 1 | -5/+5 |
| | |||||
* | SF bug 431772: traceback.print_exc() causes traceback | Tim Peters | 2001-06-10 | 1 | -13/+14 |
| | | | | | | | Patch from Michael Hundson. format_exception_only() blew up when trying to report a SyntaxError from a string input (line is None in this case, but it assumed a string). Bugfix candidate. | ||||
* | Whitespace normalization. | Tim Peters | 2001-03-29 | 1 | -1/+1 |
| | |||||
* | Do not print caret when offset is None. | Jeremy Hylton | 2001-03-21 | 1 | -7/+8 |
| | |||||
* | Reformat and edit docstrings to follow modern conventions. Single | Jeremy Hylton | 2001-03-21 | 1 | -50/+68 |
| | | | | line summary followed by blank line and description. | ||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 1 | -0/+5 |
| | | | | giving it a slight facelift | ||||
* | String method cleanup. | Eric S. Raymond | 2001-02-10 | 1 | -4/+2 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -6/+6 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -233/+233 |
| | |||||
* | mwh: [ Patch #103228 ] traceback.py nit. | Guido van Rossum | 2001-01-13 | 1 | -1/+5 |
| | | | | | When the exception has no message, don't insert a colon after the exception name. | ||||
* | Patch by Toby Dickenson: don't die when an error occurs during string | Guido van Rossum | 2000-08-22 | 1 | -1/+7 |
| | | | | | conversion in an exception, but instead display <unprintable %s object> where %s is the type name. | ||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -1/+1 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | ||||
* | Match the error messages to say "(most recent call last)" like the | Guido van Rossum | 2000-04-10 | 1 | -5/+5 |
| | | | | built-in messages. | ||||
* | The third and final doc-string sweep by Ka-Ping Yee. | Guido van Rossum | 2000-02-04 | 1 | -7/+68 |
| | | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac. | ||||
* | 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 |