commit | c1651a0b968390ef6b722d3c2e1ca72c5a7c9cec | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sun May 03 22:55:55 2009 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sun May 03 22:55:55 2009 +0000 |
tree | 821d3c8846e4ce61eccbb43d40295321a0ca11dc | |
parent | 129ab1d8090f54b308b1d4ddaf4fd241ba312a95 [diff] |
Merged revisions 72260 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r72260 | walter.doerwald | 2009-05-04 00:36:33 +0200 (Mo, 04 Mai 2009) | 5 lines Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call PyUnicode_DecodeUTF8() once, remember the result and output it in a second step. This avoids problems with counting UTF-8 bytes that ignores the effect of using the replace error handler in PyUnicode_DecodeUTF8(). ........