Message172262
| Author |
vstinner |
| Recipients |
eric.smith, ezio.melotti, lekma, lemburg, mark.dickinson, petri.lehtinen, python-dev, ron_adam, vstinner, ysj.ray |
| Date |
2012年10月06日.23:09:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349564957.7.0.635597387827.issue7330@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I read again this old issue. I still think that it would be better to truncate to a number of *bytes* for "%s" format (and %V format when the first argument is NULL) to mimic printf(). The "replace" error handler of the UTF-8 decoder handles truncated string correctly. So I should update my patch. |
|