commit | f11232e5c57cced549291091b8509aac4272bd46 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Sun May 03 22:38:54 2009 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Sun May 03 22:38:54 2009 +0000 |
tree | ebce58ceb000c1627dc55f56ad97e14dd603c3d8 | |
parent | 921825233265979c58cd0d64967de616d0c8ecd8 [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(). ........