stuck subprocess MainThread because only the SocketThread was exiting.
M NEWS.txt
M idlever.py
M run.py
+What's New in IDLE 1.1rc2?
+=============================
+
+*Release date: XX-NOV-2004*
+
+- On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
+ stuck subprocess MainThread because only the SocketThread was exiting.
+
What's New in IDLE 1.1b3/rc1?
=============================
-IDLE_VERSION = "1.1c1"
+IDLE_VERSION = "1.1c2"
Interrupt the MainThread and exit server if link is dropped.
"""
+ global quitting
try:
raise
except SystemExit:
traceback.print_exc(file=erf)
print>>erf, '\n*** Unrecoverable, server exiting!'
print>>erf, '-'*40
- exit()
+ quitting = True
+ thread.interrupt_main()
class MyHandler(rpc.RPCHandler):