[issue1524639] Fix Tkinter Tcl-commands memory-leaks

Guilherme Polo report at bugs.python.org
Thu Dec 18 00:03:39 CET 2008


Guilherme Polo <ggpolo at gmail.com> added the comment:

I've fixed the leaks in Variable doing this:
http://code.google.com/p/plumage/source/detail?r=93

I don't use an extra _tclCommands for Variable, instead in __del__ I use
the information returned by Variable.trace_vinfo to remove associated
callbacks.

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


More information about the Python-bugs-list mailing list