[Patches] [ python-Patches-490811 ] Jython and test_string

noreply@sourceforge.net noreply@sourceforge.net
Sun, 09 Dec 2001 06:21:00 -0800


Patches item #490811, was opened at 2001-12-09 04:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=490811&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Finn Bock (bckfnn)
>Assigned to: Finn Bock (bckfnn)
Summary: Jython and test_string

Initial Comment:
If neither a method or a string module function 
exists, test_string.py will throw an ugly

   UnboundLocalError: local: 'f'

exception at the print statement. This patch will fix 
the UnboundLocalError and write the real reason for 
the error to the log.

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-09 06:21

Message:
Logged In: YES 
user_id=6380

Go!

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

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