[..]

> These are the only lines of code that reference "imageLabel":
> 
> imageLabel = Label(master = frame1, image = image)
> imageLabel.pack()
> 
> 
> Unless the constructor of Label adds a reference of itself to frame1, 
> imageLabel will also become garbage collected at the end of the 
> constructor. Are you sure this is the case?

yes, now i see it
even can frame1 be dead after __init__
it binds itself too root with

frame1 = Frame(master = root)
frame1.pack(side = LEFT)

frame1.pack may append frame1 to root's list of all
widgets, we cannot see it, but it also may not do it

Thx
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to