[issue43981] test_idle is leaking references

Terry J. Reedy report at bugs.python.org
Fri Apr 30 00:28:19 EDT 2021


Terry J. Reedy <tjreedy at udel.edu> added the comment:

test_squeezer.ExpandingButtonTest accounts for most of the leak.
python -m test -R3:3 -v -ugui -m *zer.Expand* test_idle
test_idle leaked [576, 576, 576] references, sum=1728
test_idle leaked [282, 282, 282] memory blocks, sum=846
All 6 methods failed.  I believe the difference [108, 108, 108] [0, 0, 0] would not be a failure.

Yesterday's patch, https://github.com/python/cpython/pull/22682/files,
only made what seems like a trivial change in 2 of the 6 methods. Only a name was changed in squeeze.py.  

Tal, any idea why these are leaking?

----------
nosy: +taleinat
stage: patch review -> 

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43981>
_______________________________________


More information about the Python-bugs-list mailing list