Issue 17693: Use _PyUnicodeWriter API for CJK decoders (original) (raw)

Created on 2013-04-10 23:50 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cjkcodecs_writer.patch vstinner,2013-04-10 23:50 review
Messages (4)
msg186536 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-04-10 23:50
Attached patch modify CJK decoders to use the _PyUnicodeWriter API. It adds a new _PyUnicodeWriter_WriteChar() function. Performances are not optimal: the overallocation is not well controlled. I will try to adjust it later (if this patch is accepted).
msg186587 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-11 20:13
New changeset bcecf3910162 by Victor Stinner in branch 'default': Close #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of http://hg.python.org/cpython/rev/bcecf3910162
msg186868 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-14 00:06
New changeset d621bdaed7c3 by Victor Stinner in branch 'default': Issue #17693: CJK encoders now use the new Unicode API (PEP 393) http://hg.python.org/cpython/rev/d621bdaed7c3
msg186932 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-04-14 17:31
New changeset ffd4b72f7f95 by Victor Stinner in branch 'default': Issue #17693: Fix memory/reference leaks http://hg.python.org/cpython/rev/ffd4b72f7f95
History
Date User Action Args
2022-04-11 14:57:44 admin set github: 61893
2013-04-14 17:31:40 python-dev set messages: +
2013-04-14 00:06:46 python-dev set messages: +
2013-04-11 20:13:16 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2013-04-10 23:50:55 vstinner create