diff options
author | Walter Dörwald <walter@livinglogic.de> | 2009-05-03 22:36:33 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2009-05-03 22:36:33 (GMT) |
commit | ed960ac404c66be1341fa32e06ff6e2727cea359 (patch) | |
tree | 5996d91bb50783a77ab0fea4be813b990f81a4f6 /Misc | |
parent | 01fce5adc0ca353122a72af905a084ac37ea7bc1 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 ------- |