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

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" --------------------------------------------

testast leaked [98, 98, 98] references, sum=294 testast leaked [98, 98, 98] memory blocks, sum=294 testasyncio leaked [3, 0, 0] memory blocks, sum=3 testcode leaked [2, 2, 2] references, sum=6 testcode leaked [2, 2, 2] memory blocks, sum=6 testfunctools leaked [0, 3, 1] memory blocks, sum=4 testpydoc leaked [106, 106, 106] references, sum=318 testpydoc leaked [42, 42, 42] memory blocks, sum=126 testtrace leaked [12, 12, 12] references, sum=36 testtrace leaked [11, 11, 11] memory blocks, sum=33

testast, testcode and testtrace were fixed by https://hg.python.org/cpython/rev/2c6825c9ecfd testpydoc leaks in testtypingpydoc. I tried git bisect and it looks like that the first commit that introduced the refleak was the one that added testtypingpydoc! 62127e60e7b0 doesn't modify any CPython internals, so it looks like that testtypingpydoc 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