[issue27529] Tkinter memory leak on OS X

Ned Deily report at bugs.python.org
Sat Jul 16 11:55:44 EDT 2016


Ned Deily added the comment:

tkinter is pretty much just a thin wrapper around the Tcl/Tk C API so suspicion for behavior like this should start there.  Usually, the easiest way to confirm that is to write an equivalent test in Tcl using its wish shell but, in this case, there's an even easier way.  The memory leak is easy to see if you use the badly out-of-date and seriously flawed system Tcl/Tk 8.5.x supplied by Apple in OS X releases since 10.6.  If tkinter is linked with an up-to-date Tcl/Tk, the leak should go away.  At least that's the case when using python3.5 from python.org 10.6+ installers and with ActiveTcl 8.5.18 installed.  See https://www.python.org/download/mac/tcltk/ for more info.

----------

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


More information about the Python-bugs-list mailing list