]> 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 05:57:16 +0000 (00:57 -0500)
committerRoger Serwy <roger.serwy@gmail.com>
Sun, 31 Mar 2013 05:57:16 +0000 (00:57 -0500)
Lib/idlelib/rpc.py
Misc/NEWS

index 0614cf014706c7a3a34fef87b375353c4e84c32b..8f611a304d29ed0858e71600393558fdbc43ed26 100644 (file)
@@ -144,7 +144,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 997e08548f65e55d14a02f37835ad3a4e69ab064..59ec000c700b502a12f5069442cf8c3715b8e4ec 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
+
 - Issue #17526: fix an IndexError raised while passing code without filename to
   inspect.findsource().  Initial patch by Tyler Doyle.