[New-bugs-announce] [issue27044] Stop test_idle memory leaks

Terry J. Reedy report at bugs.python.org
Mon May 16 21:18:48 EDT 2016

New submission from Terry J. Reedy:

test_idle leaked [2648, 2648, 2648] references, sum=7944
test_idle leaked [938, 940, 940] memory blocks, sum=2818

I traced this to test_configdialog and then to ConfigDialog.AttachVarCallbacks, which has 18 call like
        self.fontSize.trace_variable('w', self.VarChanged_font)
Currently, root.destroy does not destroy associated callbacks.  Serhiy has a patch to change this, but will do explicit cleanup for the test anyway.

assignee: terry.reedy
messages: 265743
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Stop test_idle memory leaks
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list