[issue17693] Use _PyUnicodeWriter API for CJK decoders

2013-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffd4b72f7f95 by Victor Stinner in branch 'default': Issue #17693: Fix memory/reference leaks http://hg.python.org/cpython/rev/ffd4b72f7f95 -- ___ Python tracker __

[issue17693] Use _PyUnicodeWriter API for CJK decoders

2013-04-13 Thread Roundup Robot
Roundup Robot added the comment: 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 -- ___ Python tracker

[issue17693] Use _PyUnicodeWriter API for CJK decoders

2013-04-11 Thread Roundup Robot
Roundup Robot added the comment: 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 -- nosy: +python-dev resolution: -> fixed stage: -> committed/r

[issue17693] Use _PyUnicodeWriter API for CJK decoders

2013-04-10 Thread STINNER Victor
New submission from STINNER Victor: 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).