Tkinter BUG: memory loss for tag bindings in Canvas

Andrew MacIntyre andymac at bullseye.apana.org.au
Fri Mar 15 03:53:10 EST 2002


On Thu, 14 Mar 2002, Eric Brunel wrote:

> Considering my memory loss problem with tag bindings, I went a little
> deeper into the Tkinter module and found out what happened: whenever a
> binding is created, a new tcl command is created by the Tkinter/_tkinter
> modules. This command in fact just calls the Python function, but is
> required to do the binding at the tk level, which of course knowns nothing
> about Python. This is this command that cause the memory leak: when the
> graphical item is deleted or even when the binding is cancelled, the
> command is not destoyed in the tcl interpreter...

Can you report this on Sourceforge? (ISTR that an SF account may be
required)

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  | Snail: PO Box 370
        andymac at pcug.org.au            |        Belconnen  ACT  2616
Web:    http://www.andymac.org/        |        Australia





More information about the Python-list mailing list