[Patches] [ python-Patches-452767 ] enhancements for cgitb

noreply@sourceforge.net noreply@sourceforge.net
Sat, 18 Aug 2001 18:34:50 -0700


Patches item #452767, was opened at 2001-08-18 18:34
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=452767&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ka-Ping Yee (ping)
Assigned to: Guido van Rossum (gvanrossum)
Summary: enhancements for cgitb

Initial Comment:
Since the module is short and some code got rearranged, the
patch is longer than the module.

Enhancements:
    - 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

Tested under varying conditions:
    - with or withour 'display' turned on
    - with or without 'logdir' specified for saving files
    - pydoc module missing (still prints text traceback)


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=452767&group_id=5470