Roger Serwy <roger.se...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14200> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com