From: Roger Serwy Date: Sun, 31 Mar 2013 05:57:16 +0000 (-0500) Subject: #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. X-Git-Tag: v2.7.5~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e4e4abf16ca1de9ace308be25186335b426b35d;p=thirdparty%2FPython%2Fcpython.git #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. --- diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index 0614cf014706..8f611a304d29 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 997e08548f65..59ec000c700b 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.