Message86731
With your patch, I'm getting quite strange results when using alignment
specifiers:
>>> z = 123+4j
>>> format(z, '=20')
'( 123+ 4j)'
>>> format(z, '^20')
'( 123 +4 j)'
>>> format(z, '<20')
'(123 +4 j)'
>>> len(format(z, '<20'))
43
Is this intentional? I was expecting to get strings of length 20,
with the substring '(123+4j)' positioned either in the middle
or on the left or right. |
|
Date |
User |
Action |
Args |
2009-04-28 12:49:05 | mark.dickinson | set | recipients:
+ mark.dickinson, gvanrossum, eric.smith, ajaksu2, mark |
2009-04-28 12:49:05 | mark.dickinson | set | messageid: <1240922945.78.0.962586760916.issue1588@psf.upfronthosting.co.za> |
2009-04-28 12:49:04 | mark.dickinson | link | issue1588 messages |
2009-04-28 12:49:04 | mark.dickinson | create | |
|