عبدالله شلي (Abdellah Chelli) <sneets...@gmail.com> added the comment:
'One hour' % {'n': 3} / mapping will not work gettext replaces the string for each language. str.format works well. The problem we couldn't submit a bug to change the code for all packages using it. I think it's better to be fixed here. At lease this problem must be mentioned within the "% formatting" on Documentation. So developers will avoid using it on internationalized tools. I have already written this. So is str.format the new way for formatting? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8359> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com