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 <1331516363.41.0.141831677277.issue14200@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1331516363.41.0.141831677277.issue14200@psf.upfronthosting.co.za>
2012-03-12 01:39:22roger.serwylinkissue14200 messages
2012-03-12 01:39:22roger.serwycreate