Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
commitae3f0dec19002cda9a8fd484bb126178ab86e7b5
authorwalter.doerwald <walter.doerwald@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 3 May 2009 22:36:33 +0000 (3 22:36 +0000)
committerwalter.doerwald <walter.doerwald@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sun, 3 May 2009 22:36:33 +0000 (3 22:36 +0000)
tree9184c943425b5a1185a0f1f5cb6827d2e6de10ba
parentda42d2221e8e79bd08d4c3f1ed460111f417f321
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().

git-svn-id: http://svn.python.org/projects/python/trunk@72260 6015fed2-1504-0410-9fe1-9d1591cc4771
Misc/NEWS
Objects/unicodeobject.c