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 | Julian |
|---|---|
| Recipients | Julian |
| Date | 2013年04月12日.16:54:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1365785695.21.0.22745237494.issue17705@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The docs say:
"The fill character can be any character other than ‘{‘ or ‘}’."
http://docs.python.org/dev/library/string.html#format-specification-mini-language
But:
>>> "{0:\x01>8.2f}".format(12)
'\x01\x01\x0112.00'
whereas:
>>> "{0:\x00>8.2f}".format(12)
' 12.00' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年04月12日 16:54:55 | Julian | set | recipients: + Julian |
| 2013年04月12日 16:54:55 | Julian | set | messageid: <1365785695.21.0.22745237494.issue17705@psf.upfronthosting.co.za> |
| 2013年04月12日 16:54:55 | Julian | link | issue17705 messages |
| 2013年04月12日 16:54:54 | Julian | create | |