[issue3639] segfaults calling warnings.warn() with non-string message
Brett Cannon
report at bugs.python.org
Fri Aug 22 20:49:06 CEST 2008
Brett Cannon <brett at python.org> added the comment:
The patch doesn't actually bother with a translation as the code causing
issue is only there to prevent infinite recursion. So if the object
being used is not a string, then there is no need to worry as it is not
part of the infinite recursion problem.
I also added a bunch of missing error checks.
----------
keywords: +needs review
Added file: http://bugs.python.org/file11220/fix_warn_funky_types.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3639>
_______________________________________
More information about the Python-bugs-list
mailing list