[New-bugs-announce] [issue10830] PyUnicode_FromFormatV("%c") doesn't support non-BMP characters on narrow build
report at bugs.python.org
Wed Jan 5 02:43:12 CET 2011
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
PyUnicode_FromFormatV("%c") supposes that an unicode character is always stored as a single Py_UNICODE word: but that's wrong on narrow build with characters in [U+10000; U+10FFFF].
Attached patch fixes this bug.
See also #10829.
components: Interpreter Core, Unicode
nosy: amaury.forgeotdarc, haypo
title: PyUnicode_FromFormatV("%c") doesn't support non-BMP characters on narrow build
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20265/pyunicode_fromformatv_c.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce