Author mark.dickinson
Recipients ajaksu2, eric.smith, gvanrossum, mark, mark.dickinson
Date 2009-04-28.12:49:04
SpamBayes Score 7.8961e-06
Marked as misclassified No
Message-id <1240922945.78.0.962586760916.issue1588@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-04-28 12:49:05mark.dickinsonsetrecipients: + mark.dickinson, gvanrossum, eric.smith, ajaksu2, mark
2009-04-28 12:49:05mark.dickinsonsetmessageid: <1240922945.78.0.962586760916.issue1588@psf.upfronthosting.co.za>
2009-04-28 12:49:04mark.dickinsonlinkissue1588 messages
2009-04-28 12:49:04mark.dickinsoncreate