This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients ajaksu2, eric.smith, gvanrossum, mark, mark.dickinson
Date 2009-04-28.12:49:04
SpamBayes Score 7.8960975e-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