[issue7309] crasher in str(Exception())
Eric Smith
report at bugs.python.org
Sat Nov 14 11:49:21 CET 2009
Eric Smith <eric at trueblade.com> added the comment:
I'm not sure why reason should be restricted to a string. This patch
(against trunk) just converts reason to a string when str() is called.
I'll add tests and fix the other places in exceptions.c where similar
shortcuts are taken without checking, if there's agreement on the approach.
----------
assignee: -> eric.smith
nosy: +eric.smith
priority: low -> high
stage: test needed -> patch review
type: -> crash
versions: +Python 2.6, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7309>
_______________________________________
More information about the Python-bugs-list
mailing list