[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.47, 1.48 idlever.py, 1.20, 1.21 run.py, 1.29, 1.30

kbk at users.sourceforge.net kbk at users.sourceforge.net
Fri Nov 19 16:46:53 CET 2004


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24220

Modified Files:
	NEWS.txt idlever.py run.py 
Log Message:
On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
stuck subprocess MainThread because only the SocketThread was exiting.

M NEWS.txt
M idlever.py
M run.py


Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- NEWS.txt	18 Nov 2004 12:32:27 -0000	1.47
+++ NEWS.txt	19 Nov 2004 15:46:49 -0000	1.48
@@ -1,3 +1,11 @@
+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?
 =============================
 

Index: idlever.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/idlever.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- idlever.py	18 Nov 2004 12:32:27 -0000	1.20
+++ idlever.py	19 Nov 2004 15:46:49 -0000	1.21
@@ -1 +1 @@
-IDLE_VERSION = "1.1c1"
+IDLE_VERSION = "1.1c2"

Index: run.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/run.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- run.py	4 Jul 2004 01:25:56 -0000	1.29
+++ run.py	19 Nov 2004 15:46:49 -0000	1.30
@@ -215,6 +215,7 @@
         Interrupt the MainThread and exit server if link is dropped.
 
         """
+        global quitting
         try:
             raise
         except SystemExit:
@@ -233,7 +234,8 @@
             traceback.print_exc(file=erf)
             print>>erf, '\n*** Unrecoverable, server exiting!'
             print>>erf, '-'*40
-            exit()
+            quitting = True
+            thread.interrupt_main()
 
 
 class MyHandler(rpc.RPCHandler):



More information about the Python-checkins mailing list