Skip to content

Commit 59316a9

Browse files
committed
bpo-26949: IDLE: Fix hanging when raise KeyboardInterrupt with debugger open
1 parent 054e091 commit 59316a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/idlelib/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def main(del_exitfunc=False):
144144
except KeyboardInterrupt:
145145
if quitting:
146146
exit_now = True
147+
rpc.response_queue.put((seq, None))
147148
continue
148149
except SystemExit:
149150
capture_warnings(False)

0 commit comments

Comments
 (0)