[Patches] [ python-Patches-1515343 ] 1515163 fix - traceback and str exc
SourceForge.net
noreply at sourceforge.net
Fri Jun 30 23:52:09 CEST 2006
Patches item #1515343, was opened at 2006-06-30 17:49
Message generated for change (Comment added) made by jimjjewett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1515343&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: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1515163 fix - traceback and str exc
Initial Comment:
1515163 is a regression from 2.4.
It is fairly obscure, as it should only affect
deprecated string exceptions which also have a value.
raise "string", "string"
On the other hand, I did run into it while trying to
clean up unittest. The patch fixes this problem, and
adds several test cases.
-jJ
----------------------------------------------------------------------
>Comment By: Jim Jewett (jimjjewett)
Date: 2006-06-30 17:52
Message:
Logged In: YES
user_id=764593
In order to fix it, I also broke out some repeated code
into a subfunction, and switched some logic to a more
modern idiom -- these parts *could* be separated if need
be, but I won't be able to do it this week.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1515343&group_id=5470
More information about the Patches
mailing list