[issue10830] PyUnicode_FromFormatV(%c) doesn't support non-BMP characters on narrow build

2011-02-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed in 3.2 too (r88532). -- resolution: - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10830

[issue10830] PyUnicode_FromFormatV(%c) doesn't support non-BMP characters on narrow build

2011-02-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed in 3.3 (r88481). Keep it open to backport it maybe to 3.2 later. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10830

[issue10830] PyUnicode_FromFormatV(%c) doesn't support non-BMP characters on narrow build

2011-01-04 Thread STINNER Victor
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+1; U+10]. Attached patch fixes this bug. See also #10829.