summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-03-31 05:57:16 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-03-31 05:57:16 (GMT)
commit6e4e4abf16ca1de9ace308be25186335b426b35d (patch)
treead96a1db41a9276eb3031126b377e851f67721cf
parentd676a3a221b99e1b352e18be0939158dfc37ef82 (diff)
downloadcpython-6e4e4abf16ca1de9ace308be25186335b426b35d.zip
cpython-6e4e4abf16ca1de9ace308be25186335b426b35d.tar.gz
cpython-6e4e4abf16ca1de9ace308be25186335b426b35d.tar.bz2
#6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
-rw-r--r--Lib/idlelib/rpc.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index 0614cf0..8f611a3 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -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:
diff --git a/Misc/NEWS b/Misc/NEWS
index 997e085..59ec000 100644
--- 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.