Message92586
Originally discussed in issue 6871. Even if an alignment of "<" is
specified, "=" is used if the padding character is "0".
>>> format(2, '0<20')
'00000000000000000002'
>>> format(2, '1<20')
'21111111111111111111'
This is a problem for at least float and integers.
This should probably be backported to 2.6 and 3.1, but I'll have to wait
and see how invasive the patch is. |
|
Date |
User |
Action |
Args |
2009-09-13 23:36:45 | eric.smith | set | recipients:
+ eric.smith, mark.dickinson, skrah |
2009-09-13 23:36:44 | eric.smith | set | messageid: <1252885004.98.0.012153138281.issue6902@psf.upfronthosting.co.za> |
2009-09-13 23:36:43 | eric.smith | link | issue6902 messages |
2009-09-13 23:36:42 | eric.smith | create | |
|