Message185792
| Author |
BreamoreBoy |
| Recipients |
BreamoreBoy, amaury.forgeotdarc, barry, docs@python, eric.smith, lemburg, lukasz.langa, r.david.murray |
| Date |
2013年04月02日.02:12:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1364868766.78.0.552777678823.issue10379@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
msg120978 "The bug has been fixed upstream...". Have I missed something as on Windows Vista...?
c:\Users\Mark\MyPython>python
Python 3.3.1rc1 (v3.3.1rc1:92c2cfb92405, Mar 25 2013, 22:39:19) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale; print(locale.format('%.0f KB', 100))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\python33\lib\locale.py", line 193, in format
"format specifier, %s not valid") % repr(percent))
ValueError: format() must be given exactly one %char format specifier, '%.0f KB' not valid |
|