]> granicus.if.org Git - python/commitdiff
#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
authorRoger Serwy <roger.serwy@gmail.com>
Sun, 31 Mar 2013 06:00:15 +0000 (01:00 -0500)
committerRoger Serwy <roger.serwy@gmail.com>
Sun, 31 Mar 2013 06:00:15 +0000 (01:00 -0500)
Lib/idlelib/rpc.py
Misc/NEWS

index a0eb1b388e4518f7a92d98cffee04e74defebc78..6093ce216e889be08d9de7129b91aca426c67140 100644 (file)
@@ -145,7 +145,7 @@ class SocketIO(object):
 
     def exithook(self):
         "override for specific exit action"
-        os._exit()
+        os._exit(0)
 
     def debug(self, *args):
         if not self.debugging:
index beb3a8df392c6ec685f2f930ac1d6eb15cc8ffba..d1ba2dbb4c744d8ad8aab776ab3a6d1fd00eb28c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
+
 - Issue #17435: threading.Timer's __init__ method no longer uses mutable
   default values for the args and kwargs parameters.