Andrii V. Mishkovskyi <[EMAIL PROTECTED]> added the comment:

I've uploaded a patch that fixes this concrete issue, though
locale.format() continues to silently ignore other types of malformed
strings (e.g. locale.format('%fSPAMf')).
I don't think this is correct behavior. Maybe there should be reg-exp
that locale.format() will use to avoid such issues.

----------
components: +Library (Lib)
keywords: +patch
Added file: http://bugs.python.org/file9918/locale.diff

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2522>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to