Message129942
Here is the updated patch:
1, Work with function parse_format_flags() which is introduced in issue10829, and the patch is simpler and more clear than before.
2, Change parse_format_flags() to set precision value to -1 in the case of '%s' in order to differ with '%.0s'
3, Move call of unicode_format_align() in step 3 in order to avoid many codes like "n += width > PyUnicode_GET_SIZE(str) ? width : PyUnicode_GET_SIZE(str);", (following haypo's comments) |
|
Date |
User |
Action |
Args |
2011-03-03 09:27:36 | ysj.ray | set | recipients:
+ ysj.ray, lemburg, mark.dickinson, vstinner, eric.smith, ron_adam, ezio.melotti |
2011-03-03 09:27:36 | ysj.ray | set | messageid: <1299144456.31.0.91514198871.issue7330@psf.upfronthosting.co.za> |
2011-03-03 09:27:35 | ysj.ray | link | issue7330 messages |
2011-03-03 09:27:35 | ysj.ray | create | |
|