[issue22068] test_gc fails after test_idle

Serhiy Storchaka report at bugs.python.org
Sat Jul 26 11:16:38 CEST 2014


Serhiy Storchaka added the comment:

Here is a patch against 2.7 which get rid of reference loops in Tk variables and Font. This will fix not only ConfigDialog, but any similar user code.

In 3.4+ such reference loops are successfully resolved, but I think we should foreport this path to 3.4+ because it also fixes other minor bug: callbacks registered to trace variable now live while the variable lives, not while widget lives.

----------
assignee:  -> serhiy.storchaka
components: +Tkinter
stage:  -> patch review
Added file: http://bugs.python.org/file36105/tkinter_refloops-2.7.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22068>
_______________________________________


More information about the Python-bugs-list mailing list