Christoph Burgmer <cburg...@ira.uka.de> added the comment: This patch removes '%%' entities from the regex results and only replaces other matches with '%s' which later then get replaced by localized versions so that escaped percentage entities don't show up in localized parsing anymore.
Removing case '%%' from the regex completely does not sound feasible and will result in '%%d' having a match '%d', though d should be a normal character. The replacing of regex matches does not look that beautiful, feel free to rewrite said part. ---------- Added file: http://bugs.python.org/file14666/locale_percents.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