This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients ezio.melotti, loewis, ned.deily, python-dev, roger.serwy, terry.reedy, vbr, vstinner
Date 2012-03-12.01:39:21
SpamBayes Score 0.000218813
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2012-03-12 01:39:23roger.serwysetrecipients: + roger.serwy, loewis, terry.reedy, vstinner, vbr, ned.deily, ezio.melotti, python-dev
2012-03-12 01:39:23roger.serwysetmessageid: <>
2012-03-12 01:39:22roger.serwylinkissue14200 messages
2012-03-12 01:39:22roger.serwycreate