Message129942
| Author |
ysj.ray |
| Recipients |
eric.smith, ezio.melotti, lemburg, mark.dickinson, ron_adam, vstinner, ysj.ray |
| Date |
2011年03月03日.09:27:35 |
| SpamBayes Score |
3.7605145e-07 |
| Marked as misclassified |
No |
| Message-id |
<1299144456.31.0.91514198871.issue7330@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|