R. David Murray <rdmur...@bitdance.com> added the comment: Here is a patch against trunk that fixes both the mapping handling and the % escape handling.
The thing that worries me about this patch is that there are (obviously) not a comprehensive set of tests proving that format_string actually behaves like % formatting does. So my refactoring could have broken other behavior and I wouldn't know it. However, since % formatting is effectively depricated, I'm not sure how much effort it is worth putting in to this.... ---------- keywords: +needs review stage: -> patch review Added file: http://bugs.python.org/file14691/locale-fix.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6656> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com