now.. please don't laugh at me
I have my own sword in my stomach
import gc
from Tkinter import *
gc.set_debug(gc.DEBUG_LEAK)
class my_frame_leak( Frame ):
def __init__( self, master=None):
Frame.__init__(self, master )
self.but = Button( self, text="quit", command=quit )
self.but.grid()
while ...
Die Suche ergab 3 Treffer
- Mittwoch 31. Oktober 2007, 18:16
- Forum: Tkinter
- Thema: inheritance from Tkinter == leaks. true?
- Antworten: 4
- Zugriffe: 3080
- Mittwoch 31. Oktober 2007, 00:05
- Forum: Tkinter
- Thema: inheritance from Tkinter == leaks. true?
- Antworten: 4
- Zugriffe: 3080
- Dienstag 30. Oktober 2007, 23:27
- Forum: Tkinter
- Thema: inheritance from Tkinter == leaks. true?
- Antworten: 4
- Zugriffe: 3080
inheritance from Tkinter == leaks. true?
Hello everybody
I've just started playing with Pyhon( circ. 1 month).
And need Your help.
With so nice and productive language, builded application with GUI based on Tkinter. Its almost done but... wanted to check resources usage and found huge memory leaks. Its about classes ingerted from Tkinter ...
I've just started playing with Pyhon( circ. 1 month).
And need Your help.
With so nice and productive language, builded application with GUI based on Tkinter. Its almost done but... wanted to check resources usage and found huge memory leaks. Its about classes ingerted from Tkinter ...