Patches item #1546372, was opened at 2006-08-25 03:19 Message generated for change (Comment added) made by lemburg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1546372&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: Demos and tools Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: lplatypus (ldeller) Assigned to: M.-A. Lemburg (lemburg) Summary: pybench.py error reporting broken for bad -s filename Initial Comment: Traceback (most recent call last): File "/usr/local/src/Python-2.5c1/Tools/pybench/pybench.py", line 938, in ? PyBenchCmdline() File "/usr/local/src/Python-2.5c1/Tools/pybench/CommandLine.py", line 346, in __init__ rc = self.main() File "/usr/local/src/Python-2.5c1/Tools/pybench/pybench.py", line 889, in main print '* Error opening/reading file %s: %s' % ( UnboundLocalError: local variable 'reason' referenced before assignment ---------------------------------------------------------------------- >Comment By: M.-A. Lemburg (lemburg) Date: 2006-08-29 12:35 Message: Logged In: YES user_id=38388 Fixed in revision 51647 on the trunk. Should probably also go into Python 2.5 or 2.5.1. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1546372&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches