Author vstinner
Recipients amaury.forgeotdarc, belopolsky, eric.smith, vstinner
Date 2011-01-14.22:05:02
SpamBayes Score 3.35594e-07
Marked as misclassified No
Message-id <>
belopolsky> Limiting field width when formatting error messages is 
belopolsky> a good safety measure.

The problem is that PyUnicode_FromFormatV() doesn't support %.100s format (it ignores .100). If we truncate at 100 bytes, it may truncate an UTF-8 string in the middle of a character :-/ And I don't want to implement it because I don't like arbitrary limitations in Python.
Date User Action Args
2011-01-14 22:05:08vstinnersetrecipients: + vstinner, amaury.forgeotdarc, belopolsky, eric.smith
2011-01-14 22:05:08vstinnersetmessageid: <>
2011-01-14 22:05:02vstinnerlinkissue10833 messages
2011-01-14 22:05:02vstinnercreate