Message172343
| 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). |
|