This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: cgitb tracebacks not accessible
Type: enhancement Stage: test needed
Components: None Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: skip.montanaro Nosy List: georg.brandl, skip.montanaro, ssb22
Priority: normal Keywords: easy

Created on 2002-08-31 18:02 by ssb22, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cgitb.diff skip.montanaro, 2007-08-29 01:05
Messages (3)
msg53629 - (view) Author: Silas S. Brown (ssb22) Date: 2002-08-31 18:02
The cgitb tracebacks use colour ALONE to highlight
which line caused the exception.  This doesn't show up
on text-only browsers such as Lynx, and it is not
helpful to blind people or those with similar special
needs.  These people have to count the lines, or set
"context" to 1, or look at the HTML source to see the
real traceback in the comments.

It would be most helpful if there were at least an
option to indicate the line that caused the error in
some additional way (as well as the colour), such as by
highlighting it with some punctuation character to the
left of the line number.

(Python 2.2.1 under Debian Woody)
msg55397 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2007-08-29 01:05
I have no easy way to check if this change works.  Can you apply it to
your Python installation and give it a whirl?

Thx,

Skip
msg85548 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-04-05 18:35
Committed a similar patch in r71255.
History
Date User Action Args
2022-04-10 16:05:38adminsetgithub: 37119
2009-04-05 18:35:07georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg85548

resolution: fixed
2009-02-13 02:19:01ajaksu2setkeywords: + easy
stage: test needed
versions: + Python 2.7
2007-08-29 01:05:12skip.montanarosetfiles: + cgitb.diff
assignee: skip.montanaro
messages: + msg55397
nosy: + skip.montanaro
2002-08-31 18:02:51ssb22create