summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2009-05-03 22:36:33 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2009-05-03 22:36:33 (GMT)
commited960ac404c66be1341fa32e06ff6e2727cea359 (patch)
tree5996d91bb50783a77ab0fea4be813b990f81a4f6 /Misc
parent01fce5adc0ca353122a72af905a084ac37ea7bc1 (diff)
downloadcpython-ed960ac404c66be1341fa32e06ff6e2727cea359.zip
cpython-ed960ac404c66be1341fa32e06ff6e2727cea359.tar.gz
cpython-ed960ac404c66be1341fa32e06ff6e2727cea359.tar.bz2
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 579dcb4..64e473a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -258,6 +258,11 @@ Core and Builtins
- Issue #5705: os.setuid() would not accept values > 2**31-1 but pwd.getpwnam()
returned them on 64bit platforms.
+- 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().
+
Library
-------