[issue14200] Idle shell crash on printing non-BMP unicode character
Roger Serwy
report at bugs.python.org
Mon Mar 12 02:39:23 CET 2012
Roger Serwy <roger.serwy at gmail.com> added the comment:
Having had some time to work on it, the bug is in the unicodeerror.diff patch. If the string is empty then max(s) will raise a ValueError. This is easy to trigger by generating an exception at the python prompt, like "1/0".
Attached is a revised version of Martin's patch.
----------
Added file: http://bugs.python.org/file24790/unicodeerror_rev1.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14200>
_______________________________________
More information about the Python-bugs-list
mailing list