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 barry
Recipients barry
Date 2010-11-09.23:33:25
SpamBayes Score 9.4422256e-05
Marked as misclassified No
Message-id <>
@mission[~:1001]% python2.7 -c "import locale; print locale.format('%.0f KB', 100)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/", line 189, in format
    "format specifier, %s not valid") % repr(percent))
ValueError: format() must be given exactly one %char format specifier, '%.0f KB' not valid
@mission[~:1002]% python2.6 -c "import locale; print locale.format('%.0f KB', 100)"
100 KB
Date User Action Args
2010-11-09 23:33:27barrysetrecipients: + barry
2010-11-09 23:33:26barrysetmessageid: <>
2010-11-09 23:33:25barrylinkissue10379 messages
2010-11-09 23:33:25barrycreate