]> granicus.if.org Git - python/commit
Issue #6656: fix locale.format_string to handle escaped percents and mappings.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 26 Apr 2010 21:17:14 +0000 (21:17 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 26 Apr 2010 21:17:14 +0000 (21:17 +0000)
commit3939dcdb72e29aeac43c0c6bcba69e098ed516ee
tree07c54da7d72f86513018e84f082ffe4231897d19
parent278d665c6a407ca1c1b26009b5a51f341f64a027
Issue #6656: fix locale.format_string to handle escaped percents and mappings.

Refactors format_string.  Includes tests for the two problems noted in
the issue, but as far as I can see there are no other tests that confirm
that format_string conforms to normal % formatting rules.
Lib/locale.py
Lib/test/test_locale.py
Misc/NEWS