[Python-bugs-list] [ python-Bugs-428555 ] IDLE crashes

noreply@sourceforge.net noreply@sourceforge.net
Fri, 06 Jul 2001 09:17:23 -0700


Bugs item #428555, was opened at 2001-05-29 23:07
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=428555&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: IDLE crashes 

Initial Comment:
On Windows 2000 (havent tested other platforms) IDLE 
will crash if i run the following code (ditto for 
PythonWin)

from Tkinter import *

root = Tk()
img = PhotoImage(root,file="somefile.gif")
# the error here is that i used root as the name





----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-05-31 19:58

Message:
Logged In: NO 

I get the same problem. Idle locks up when I close the 
window created by this application. 

I'm using Python 2.1 on Win98SE with IDLE 0.8 and Tcl 8.3

Happens every time for me. I can't get IDLE back to the >>> 
prompt when I close the window.

HELP!
----
from Tkinter import *

def testwindow(mess):
    root = Tk()

    w = Label(root, text="[ %s ]" % mess)
    w.pack()

    root.mainloop()

testwindow("Hello World")
----

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=428555&group_id=5470