[Python-checkins] cpython (3.3): #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.

roger.serwy python-checkins at python.org
Sun Mar 31 08:18:32 CEST 2013


http://hg.python.org/cpython/rev/cd2c613527ed
changeset:   83035:cd2c613527ed
branch:      3.3
parent:      83031:74d9a9507019
user:        Roger Serwy <roger.serwy at gmail.com>
date:        Sun Mar 31 01:00:15 2013 -0500
summary:
  #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.

files:
  Lib/idlelib/rpc.py |  2 +-
  Misc/NEWS          |  2 ++
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -145,7 +145,7 @@
 
     def exithook(self):
         "override for specific exit action"
-        os._exit()
+        os._exit(0)
 
     def debug(self, *args):
         if not self.debugging:
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,8 @@
 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.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list