Bugs item #1178148, was opened at 2005-04-06 16:04
Message generated for change (Settings changed) made by ping
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178148&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.3
>Status: Closed
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-11-07 21:21

Message:
Logged In: YES 
user_id=45338

I'm going to close this.  I've tested it in Python 2.3.5,
2.4.1, and 2.5a0.  It works correctly in every case, so it
was probably fixed between 2.3 and 2.3.5.

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

Comment By: Barry Alan Scott (barry-scott)
Date: 2005-04-20 12:57

Message:
Logged In: YES 
user_id=28665

I ran your example on Mac OS X 10.3.9 and its shipped Python 2.3
The attached exctest.html clear show the problem.

Did this get fixed in 2.4?


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

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

Reply via email to