summaryrefslogtreecommitdiffstats
path: root/Lib/cgitb.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix name error, found by pychecker.Guido van Rossum2002-12-311-1/+1
|
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-3/+3
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Also look up variable names in __builtins__ if not found in globals.Ka-Ping Yee2002-06-261-3/+15
| | | | Don't show hidden fields of exception values (names starting with '_').
* Make the module docstring agree with reality: the module prvides theFred Drake2001-12-191-1/+1
| | | | "handler()" function, not the "handle()" function.
* Add "file" argument to Hook constructor.Ka-Ping Yee2001-12-041-10/+15
| | | | | By default, save sys.stdout in self.file when a Hook instance is created (e.g. when cgitb.enable() is called).
* Enhancements:Ka-Ping Yee2001-08-211-93/+111
| | | | | | | | | | - file URL now starts with "file://" (standard) rather than "file:" - new optional argument 'context' to enable() - repeated variable names don't have their values shown twice - dotted attributes are shown; missing attributes handled reasonably - highlight the whole logical line even if it has multiple physical lines - use nice generator interface to tokenize - formatting fixed so that it looks good in lynx, links, and w3m too
* Initial check-in of cgitb.Ka-Ping Yee2001-08-181-0/+182
A few enhancements are pending, but this should work reliably.