Author vstinner
Recipients eric.smith, ezio.melotti, lekma, lemburg, mark.dickinson, petri.lehtinen, python-dev, ron_adam, vstinner, ysj.ray
Date 2012-10-07.20:35:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349642140.27.0.406538553329.issue7330@psf.upfronthosting.co.za>
In-reply-to
Content
Updated patch: precision for "%s" and "%V" (if the first PyObject* argument is NULL) formats is now a number of bytes, rather than a number of characters. width is still always a number of character.

The reason is that "%.100s" can be used for avoid a crash if the argument is not terminated by a null character (see issue #10833).
History
Date User Action Args
2012-10-07 20:35:40vstinnersetrecipients: + vstinner, lemburg, mark.dickinson, eric.smith, ron_adam, ezio.melotti, lekma, ysj.ray, python-dev, petri.lehtinen
2012-10-07 20:35:40vstinnersetmessageid: <1349642140.27.0.406538553329.issue7330@psf.upfronthosting.co.za>
2012-10-07 20:35:40vstinnerlinkissue7330 messages
2012-10-07 20:35:40vstinnercreate