Bugs item #1178148, was opened at 2005-04-06 16:04
Message generated for change (Comment added) made by ping
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178148&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
>Resolution: Works For Me
Priority: 5
Submitted By: Barry Alan Scott (barry-scott)
>Assigned to: Ka-Ping Yee (ping)
Summary: cgitb.py report wrong line number
Initial Comment:
Given code like
try:
raise 'bug'
except ValueError:
pass # cgitb.py think 'bug' is here
cgitb.py will report that the exception 'bug' is at the
pass line.
This is a time waster until you figure that this
problem exists.
----------------------------------------------------------------------
>Comment By: Ka-Ping Yee (ping)
Date: 2005-04-18 11:29
Message:
Logged In: YES
user_id=45338
Can't reproduce this problem. When i test the provided
case, cgitb reports the error on the "raise" line as it
should. See the attached file for my test case; cgitb
highlights line 6 ("raise 'spam'").
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178148&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com