summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2009-05-03 22:55:55 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2009-05-03 22:55:55 (GMT)
commitc1651a0b968390ef6b722d3c2e1ca72c5a7c9cec (patch)
tree821d3c8846e4ce61eccbb43d40295321a0ca11dc /Misc
parent129ab1d8090f54b308b1d4ddaf4fd241ba312a95 (diff)
downloadcpython-c1651a0b968390ef6b722d3c2e1ca72c5a7c9cec.zip
cpython-c1651a0b968390ef6b722d3c2e1ca72c5a7c9cec.tar.gz
cpython-c1651a0b968390ef6b722d3c2e1ca72c5a7c9cec.tar.bz2
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(). ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 00270fd..fccafcc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -499,6 +499,11 @@ Core and Builtins
- The re.sub(), re.subn() and re.split() functions now accept a flags parameter.
+- Issue #5108: Handle %s like %S, %R and %A 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().
+
Library
-------