[Python-Dev] [Python-checkins] cpython: Issue #17693: CJK encoders now use the new Unicode API (PEP 393)

Victor Stinner victor.stinner at gmail.com
Sun Apr 14 19:36:16 CEST 2013


Hi,

2013/4/14 Nick Coghlan <ncoghlan at gmail.com>:
> On Sun, Apr 14, 2013 at 10:06 AM, victor.stinner
> <python-checkins at python.org> wrote:
>> http://hg.python.org/cpython/rev/d621bdaed7c3
>> changeset:   83317:d621bdaed7c3
>> user:        Victor Stinner <victor.stinner at gmail.com>
>> date:        Sun Apr 14 02:06:32 2013 +0200
>> summary:
>>   Issue #17693: CJK encoders now use the new Unicode API (PEP 393)
>
> I'm going to run with the wild theory that there's a reference link in
> here somewhere... :)
>
> results for 0ee785c9d1b4 on branch "default"
> ------------------------------
> --------------
>
> test_codecencodings_cn leaked [16133, 16133, 16133] references, sum=48399
> test_codecencodings_cn leaked [28992, 28994, 28994] memory blocks, sum=86980
> ...

Oh thanks for the report. My laptop is too slow to run the test suite using -R.

It should be fixed by:

New changeset ffd4b72f7f95 by Victor Stinner in branch 'default':
Issue #17693: Fix memory/reference leaks
http://hg.python.org/cpython/rev/ffd4b72f7f95

Victor


More information about the Python-Dev mailing list