Mark Lawrence added the comment:
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
----------
nosy: +BreamoreBoy
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com