[Idle-dev] [ idlefork-Bugs-834136 ] control-c doesn't work

SourceForge.net noreply at sourceforge.net
Mon Nov 17 12:00:38 EST 2003

Bugs item #834136, was opened at 2003-11-01 14:59
Message generated for change (Comment added) made by efrerich
You can respond by visiting: 

Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Submitted By: Egon Frerich (efrerich)
Assigned to: Kurt B. Kaiser (kbk)
Summary: control-c doesn't work

Initial Comment:
(IDLE 1.0 - Python 2.3 -Windows XP)
I put a never ending loop into my python program.
control-c didn't stop the Run-Command. Then I choosed
the exit option in the File Menu of the Shell-Window.

Then I h've got the message, that the program is still
running and if I would like to kill the program. After
saying "yes" (or "ok" IDLE disappeared. 

But I cannot start IDLE again. I have to reboot my
system. When I shutdown the system there is a program
"Menu Window" which I have to destroy.


>Comment By: Egon Frerich (efrerich)
Date: 2003-11-17 17:00

Logged In: YES 

Python program: actually I used Tkinter with two geometry
manager (pack and grid) . Afterwards I read I shouldn't do this.

Task Manager: Yes this works.  If the geometry managers come
to no end and I say Ctrl-C then nothing happens. Then if I
kill the 99% cpu-process and afterwards push ctrl-c I get
the KeyboardInterrupt in IDLE (and have not to reboot XP).


Egon Frerich


Comment By: Kurt B. Kaiser (kbk)
Date: 2003-11-17 03:59

Logged In: YES 

Please post a copy of your program and any pertinent
data so I can reproduce it.  Ctrl-C works for me on the
code I've tried.  There are cases involving blocking
I/O which can't be interrupted.  

It does sound like the main thread (which runs your code)
is blocked.

It should not be necessary to reboot XP.  Use the Task
Manager to kill the python subprocess, they are the
(usually two threads) small ones.  Kill the one which is
getting 100% of the cpu first.  

If you do that, the GUI will re-spawn the subprocess.


You can respond by visiting: 

More information about the IDLE-dev mailing list