R. David Murray <rdmur...@bitdance.com> added the comment: It occured to me last night that it could be checked using a regular expression, and indeed the locale module already has a regular expression that matches percent codes. I've uploaded a patch that uses this regex to fix this issue. I've removed 2.6 and 3.0 as this change could break existing code that is misusing format.
I added georg.brandl to the nosy list since svn blame shows him as the author of the code being modified. ---------- nosy: +georg.brandl priority: -> low resolution: wont fix -> stage: committed/rejected -> patch review status: pending -> open versions: -Python 2.6, Python 3.0 Added file: http://bugs.python.org/file13458/issue2522.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2522> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com