summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-03-31 06:00:15 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-03-31 06:00:15 (GMT)
commit71c9e1a5c36cfc53ff760e6c3b4d957424d73d72 (patch)
treec6381ee68628c116659af81c20073dabf86f00b5
parent32622236d5b45fedcefa50c11afeaa5d99ff8cdc (diff)
downloadcpython-71c9e1a5c36cfc53ff760e6c3b4d957424d73d72.zip
cpython-71c9e1a5c36cfc53ff760e6c3b4d957424d73d72.tar.gz
cpython-71c9e1a5c36cfc53ff760e6c3b4d957424d73d72.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 a0eb1b3..6093ce2 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -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:
diff --git a/Misc/NEWS b/Misc/NEWS
index beb3a8d..d1ba2db 100644
--- 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.