[issue27044] Stop test_idle memory leaks

2016-05-16 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27044] Stop test_idle memory leaks

2016-05-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9e1c859562bb by Terry Jan Reedy in branch '2.7':
Backports: #25747: remove bad test.  #27044: stop test_idle from leaking.
https://hg.python.org/cpython/rev/9e1c859562bb

New changeset 6a33d8d5d208 by Terry Jan Reedy in branch '3.5':
Issue #27044: stop test_idle from leaking by deleting callbacks.
https://hg.python.org/cpython/rev/6a33d8d5d208

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27044] Stop test_idle memory leaks

2016-05-16 Thread Terry J. Reedy

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com