Message123441
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)
'0xa'
Expected Output:
> "{0:#02x}".format(10)
'0x0a'
(note that the '0a' is two characters long, as it should be) |
|
Date |
User |
Action |
Args |
2010-12-05 23:40:51 | Alex.Leone | set | recipients:
+ Alex.Leone |
2010-12-05 23:40:51 | Alex.Leone | set | messageid: <1291592451.76.0.667940420778.issue10633@psf.upfronthosting.co.za> |
2010-12-05 23:40:47 | Alex.Leone | link | issue10633 messages |
2010-12-05 23:40:47 | Alex.Leone | create | |
|