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.76051e-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)
History
Date User Action Args
2011-03-03 09:27:36ysj.raysetrecipients: + ysj.ray, lemburg, mark.dickinson, vstinner, eric.smith, ron_adam, ezio.melotti
2011-03-03 09:27:36ysj.raysetmessageid: <1299144456.31.0.91514198871.issue7330@psf.upfronthosting.co.za>
2011-03-03 09:27:35ysj.raylinkissue7330 messages
2011-03-03 09:27:35ysj.raycreate