From: Roger Serwy Date: Sun, 31 Mar 2013 06:00:15 +0000 (-0500) Subject: #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. X-Git-Tag: v3.3.2~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71c9e1a5c36cfc53ff760e6c3b4d957424d73d72;p=python #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. --- diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index a0eb1b388e..6093ce216e 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 beb3a8df39..d1ba2dbb4c 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.