New submission from Barry A. Warsaw <ba...@python.org>: @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/locale.py", 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
---------- messages: 120905 nosy: barry priority: normal severity: normal status: open title: locale.format() input regression versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com