]> granicus.if.org Git - python/commit
Issue #11246: Fix PyUnicode_FromFormat("%V")
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 1 Mar 2011 22:46:52 +0000 (22:46 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 1 Mar 2011 22:46:52 +0000 (22:46 +0000)
commit2512a8b62e32d0b7c51b484a32bb770bd4c2a903
tree8ecaaeb87bcf25fa77157dfe5609d62423711889
parentc613b6bce165170f8e761a3c92f7c2e1b9a6f268
Issue #11246: Fix PyUnicode_FromFormat("%V")

Decode the byte string from UTF-8 (with replace error handler) instead of
ISO-8859-1 (in strict mode). Patch written by Ray Allen.
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c