Message155428
| 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.00021881273 |
| 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. |
|