homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyUnicode_FromFormatV("%c") doesn't support non-BMP characters on narrow build
Type: Stage:
Components: Interpreter Core, Unicode Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, vstinner
Priority: normal Keywords: patch

Created on 2011年01月05日 01:43 by vstinner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pyunicode_fromformatv_c.patch vstinner, 2011年01月05日 01:43
Messages (3)
msg125393 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年01月05日 01:43
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.
msg128997 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年02月21日 21:24
Fixed in 3.3 (r88481).
Keep it open to backport it maybe to 3.2 later.
msg129181 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年02月23日 12:14
Fixed in 3.2 too (r88532).
History
Date User Action Args
2022年04月11日 14:57:10adminsetgithub: 55039
2011年02月23日 12:14:35vstinnersetstatus: pending -> closed

messages: + msg129181
resolution: fixed
2011年02月21日 21:24:27vstinnersetstatus: open -> pending

messages: + msg128997
2011年01月05日 01:43:11vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /