[ python-Bugs-1531405 ] format_exception raises if str(exception) raises
SourceForge.net
noreply at sourceforge.net
Thu Aug 3 00:13:58 CEST 2006
Bugs item #1531405, was opened at 2006-07-30 17:06
Message generated for change (Comment added) made by jimjjewett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1531405&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.5
Status: Open
Resolution: None
Priority: 9
Submitted By: Jp Calderone (kuran)
Assigned to: Nobody/Anonymous (nobody)
Summary: format_exception raises if str(exception) raises
Initial Comment:
Previously format_exception_only used _some_str() to
find the string representation of an exception. In
current trunk at HEAD that code has been factored into
_format_final_exc_line and changed in two ways: it now
calls str(exception) twice instead of once and in one
of those cases, it calls str() directly rather than
through _some_str, which does exception handling.
The end result of this is that application-level code
which uses the traceback module to format exceptions
which previously could not raise exceptions now can
raise exceptions.
----------------------------------------------------------------------
Comment By: Jim Jewett (jimjjewett)
Date: 2006-08-02 18:13
Message:
Logged In: YES
user_id=764593
Jp -- is this the same issue as 1515163 (patch 1515343)?
If so, it should be cleared up in the traceback.py from
head. Could you doublecheck?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1531405&group_id=5470
More information about the Python-bugs-list
mailing list