[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.23.4.14, 1.23.4.15 run.py, 1.25.8.2, 1.25.8.3

kbk at users.sourceforge.net kbk at users.sourceforge.net
Wed Jan 19 07:23:55 CET 2005


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25411
Modified Files:
 Tag: release23-maint
	NEWS.txt 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 run.py
Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.23.4.14
retrieving revision 1.23.4.15
diff -u -d -r1.23.4.14 -r1.23.4.15
--- NEWS.txt	19 Jan 2005 05:53:32 -0000	1.23.4.14
+++ NEWS.txt	19 Jan 2005 06:23:51 -0000	1.23.4.15
@@ -3,13 +3,15 @@
 
 *Release date: XX-Jan-2005*
 
+- On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
+ stuck subprocess MainThread because only the SocketThread was exiting.
+
 - Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
 button) caused IDLE to fail on restart (no new keyset was created in
 config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535.
 
 - checking sys.platform for substring 'win' was breaking IDLE docs on Mac
- (darwin). Also, Mac Safari browser requires full file:// URIs. Backport of
- fix for SF 900580.
+ (darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580.
 
 - rpc.py:SocketIO - Large modules were generating large pickles when downloaded
 to the execution server. The return of the OK response from the subprocess
Index: run.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/run.py,v
retrieving revision 1.25.8.2
retrieving revision 1.25.8.3
diff -u -d -r1.25.8.2 -r1.25.8.3
--- run.py	6 Jun 2004 17:41:41 -0000	1.25.8.2
+++ run.py	19 Jan 2005 06:23:51 -0000	1.25.8.3
@@ -196,6 +196,7 @@
 Interrupt the MainThread and exit server if link is dropped.
 
 """
+ global quitting
 try:
 raise
 except SystemExit:
@@ -214,7 +215,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

AltStyle によって変換されたページ (->オリジナル) /