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.
History
Date User Action Args
2012-10-06 23:09:17vstinnersetrecipients: + vstinner, lemburg, mark.dickinson, eric.smith, ron_adam, ezio.melotti, lekma, ysj.ray, python-dev, petri.lehtinen
2012-10-06 23:09:17vstinnersetmessageid: <1349564957.7.0.635597387827.issue7330@psf.upfronthosting.co.za>
2012-10-06 23:09:17vstinnerlinkissue7330 messages
2012-10-06 23:09:17vstinnercreate