New submission from STINNER Victor <victor.stin...@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 files: pyunicode_fromformatv_c.patch keywords: patch messages: 125393 nosy: amaury.forgeotdarc, haypo priority: normal severity: normal status: open 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 <rep...@bugs.python.org> <http://bugs.python.org/issue10830> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com