Author Alex.Leone
Recipients Alex.Leone
Date 2010-12-05.23:40:47
SpamBayes Score 0.00469091
Marked as misclassified No
Message-id <>
When using the '#' to prefix a numeric argument in format() with a '0x' or others, the 0-width padding takes into account the '0x' characters.  This is unexpected - the 0-width should NOT take into account the prefix.

Current Behavior:
> "{0:#02x}".format(10)

Expected Output:
> "{0:#02x}".format(10)

(note that the '0a' is two characters long, as it should be)
Date User Action Args
2010-12-05 23:40:51Alex.Leonesetrecipients: + Alex.Leone
2010-12-05 23:40:51Alex.Leonesetmessageid: <>
2010-12-05 23:40:47Alex.Leonelinkissue10633 messages
2010-12-05 23:40:47Alex.Leonecreate