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 eric.smith
Recipients eric.smith, mark, talin
Date 2008-06-24.11:21:37
SpamBayes Score 0.014144484
Marked as misclassified No
Message-id <1214306498.67.0.955842193395.issue3140@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed in r64499 (trunk) and r64500 (py3k).

I now get:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
'en_US.UTF-8'
>>> for x in
(123,1234,12345,123456,1234567,12345678,123456789,1234567890,12345678900):
...  print("[{0:>20n}]".format(x))
... 
[                 123]
[               1,234]
[              12,345]
[             123,456]
[           1,234,567]
[          12,345,678]
[         123,456,789]
[       1,234,567,890]
[      12,345,678,900]

and:

>>> for x in
(123,1234,12345,123456,1234567,12345678,123456789,1234567890,12345678900):
...  print("[{0:>10n}]".format(x))
... 
[       123]
[     1,234]
[    12,345]
[   123,456]
[ 1,234,567]
[12,345,678]
[123,456,789]
[1,234,567,890]
[12,345,678,900]
History
Date User Action Args
2008-06-24 11:21:39eric.smithsetspambayes_score: 0.0141445 -> 0.014144484
recipients: + eric.smith, talin, mark
2008-06-24 11:21:38eric.smithsetspambayes_score: 0.0141445 -> 0.0141445
messageid: <1214306498.67.0.955842193395.issue3140@psf.upfronthosting.co.za>
2008-06-24 11:21:37eric.smithlinkissue3140 messages
2008-06-24 11:21:37eric.smithcreate