Message126302
| Author | vstinner |
|---|---|
| Recipients | amaury.forgeotdarc, belopolsky, eric.smith, vstinner |
| Date | 2011-01-14.22:05:02 |
| SpamBayes Score | 3.3559354e-07 |
| Marked as misclassified | No |
| Message-id | <1295042708.41.0.786360452265.issue10833@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-01-14 22:05:08 | vstinner | set | recipients: + vstinner, amaury.forgeotdarc, belopolsky, eric.smith |
| 2011-01-14 22:05:08 | vstinner | set | messageid: <1295042708.41.0.786360452265.issue10833@psf.upfronthosting.co.za> |
| 2011-01-14 22:05:02 | vstinner | link | issue10833 messages |
| 2011-01-14 22:05:02 | vstinner | create | |