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 |
|---|---|
| Recipients | mark |
| Date | 2008年06月19日.13:02:12 |
| SpamBayes Score | 0.20795716 |
| Marked as misclassified | No |
| Message-id | <1213880533.51.0.166006060243.issue3140@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Python 30b1 >>> import locale >>> locale.setlocale(locale.LC_ALL, "en_US.UTF-8") 'en_US.UTF-8' >>> for x in (1234,12345,123456,1234567,12345678,123456789,1234567890,12345678900): print("[{0:>20n}]".format(x)) [ 1,234] [ 12,345] [ 123,456] [ 1,234,567] [ 12,345,678] [ 123,456,789] [ 1,234,567,890] [ 12,345,678,900] I expected that the commas would not increase the width, but maybe this was the intended behaviour? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月19日 13:02:13 | mark | set | spambayes_score: 0.207957 -> 0.20795716 recipients: + mark |
| 2008年06月19日 13:02:13 | mark | set | spambayes_score: 0.207957 -> 0.207957 messageid: <1213880533.51.0.166006060243.issue3140@psf.upfronthosting.co.za> |
| 2008年06月19日 13:02:12 | mark | link | issue3140 messages |
| 2008年06月19日 13:02:12 | mark | create | |