summaryrefslogtreecommitdiffstats
path: root/Lib/cgitb.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge ast-branch to headJeremy Hylton2005-10-201-0/+1
| | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.
* Prevent creating a HTML link to file://?/Georg Brandl2005-06-261-2/+5
|
* Replace list of constants with tuples of constants.Raymond Hettinger2005-02-061-1/+1
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-2/+2
|
* [Patch #987052 from Thomas Guettler]Andrew M. Kuchling2004-07-101-6/+21
| | | | | | Don't output empty tags Escape page header Remove <p> before <table> (tidy complains)
* Another nit found by Neal Norwitz using pychecker. This was caused by aSkip Montanaro2004-06-071-2/+1
| | | | | too-mechanical translation when converting html() to text() (simply stripped strong() where it appeared).
* [Bug #758665] cgitb.scanvars() fails because of an unititialized value ↵Andrew M. Kuchling2004-06-051-1/+1
| | | | variable. Patch from Robin Becker.
* [Bug #945063] Get file extension correct. (2.3 bugfix candidate)Andrew M. Kuchling2004-05-061-1/+1
|
* [Bugfix candidate] Escape traceback type and value. There are probably ↵Andrew M. Kuchling2004-03-311-1/+2
| | | | additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)
* Whitespace normalization.Tim Peters2003-06-291-1/+1
|
* SF Patch 569574 - enhancements to cgitb for plain text displaySkip Montanaro2003-06-171-14/+95
|
* 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.