Message150554
Removing the if condition would be incorrect. The maximum char is computed at the beginning of the formatting. If, during formatting, need for a padding character is determined, the padding character must not be larger than the maximum char of the target string - which is 127 unless 'c' formatting is used.
One solution would be to determine whether the padding character is used in advance. Another solution would be to widen the string when the need for non-ASCII padding is detected.
I have no intention of fixing this issue myself; I don't mind if non-ASCII padding characters are not supported in 3.3. |
|
Date |
User |
Action |
Args |
2012-01-03 23:07:35 | loewis | set | recipients:
+ loewis, mark.dickinson, vstinner, eric.smith, benjamin.peterson, ezio.melotti, skrah |
2012-01-03 23:07:35 | loewis | set | messageid: <1325632055.33.0.0319034176152.issue13706@psf.upfronthosting.co.za> |
2012-01-03 23:07:34 | loewis | link | issue13706 messages |
2012-01-03 23:07:34 | loewis | create | |
|