Message218782
I don't understand why it works with "<", "=" or ">":
>>> "{0:\x00<6d}".format(123)
'123\x00\x00\x00'
But not without:
>>> "{0:\x006d}".format(123)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Invalid format specifier
Compare it to:
>>> "{0:6d}".format(123)
' 123'
>>> "{0:06d}".format(123)
'000123' |
|
Date |
User |
Action |
Args |
2014-05-19 07:48:07 | vstinner | set | recipients:
+ vstinner, eric.smith, ezio.melotti, davide.rizzo, python-dev, Gavin.Andresen |
2014-05-19 07:48:07 | vstinner | set | messageid: <1400485687.61.0.785138616737.issue12546@psf.upfronthosting.co.za> |
2014-05-19 07:48:07 | vstinner | link | issue12546 messages |
2014-05-19 07:48:06 | vstinner | create | |
|