[Python-Dev] [Python-checkins] Daily reference leaks (b78574cb00ab): sum=1120

Yury Selivanov yselivanov.ml at gmail.com
Wed Nov 9 11:01:08 EST 2016



On 2016-11-09 10:16 AM, Yury Selivanov wrote:
> I'm trying to fix refleaks in 3.6.  So far:
>
> On 2016-11-09 4:02 AM, solipsis at pitrou.net wrote:
>
>> results for b78574cb00ab on branch "default"
>> --------------------------------------------
>>
>> test_ast leaked [98, 98, 98] references, sum=294
>> test_ast leaked [98, 98, 98] memory blocks, sum=294
>> test_asyncio leaked [3, 0, 0] memory blocks, sum=3
>> test_code leaked [2, 2, 2] references, sum=6
>> test_code leaked [2, 2, 2] memory blocks, sum=6
>> test_functools leaked [0, 3, 1] memory blocks, sum=4
>> test_pydoc leaked [106, 106, 106] references, sum=318
>> test_pydoc leaked [42, 42, 42] memory blocks, sum=126
>> test_trace leaked [12, 12, 12] references, sum=36
>> test_trace leaked [11, 11, 11] memory blocks, sum=33
>>
>>
>
> test_ast, test_code and test_trace were fixed by 
> https://hg.python.org/cpython/rev/2c6825c9ecfd
>
> test_pydoc leaks in test_typing_pydoc. I tried git bisect and it looks 
> like that the first commit that introduced the refleak was the one 
> that added test_typing_pydoc!
>
> 62127e60e7b0 doesn't modify any CPython internals, so it looks like 
> that test_typing_pydoc exposed some bug that has existed before it. 
> Any help tracking that down is welcome :)


I've created an issue to track the leak in pydocs/typing: 
http://bugs.python.org/issue28649

Yury


More information about the Python-Dev mailing list