From 53dc4f0148f08d0da5c394089b7061cd77269fc0 Mon Sep 17 00:00:00 2001 From: Roger Serwy Date: Thu, 11 Apr 2013 19:13:21 -0500 Subject: #17585: Fixed IDLE regression. Now closes when using exit() or quit(). --- Lib/idlelib/PyShell.py | 3 +++ Misc/NEWS | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 9451d2e..81af85a 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1370,6 +1370,9 @@ class PseudoInputFile(PseudoFile): self._line_buffer = line[size:] return line[:size] + def close(self): + self.shell.close() + usage_msg = """\ diff --git a/Misc/NEWS b/Misc/NEWS index 76718be..a04210c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -37,6 +37,8 @@ Library IDLE ---- +- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit(). + - Issue #17657: Show full Tk version in IDLE's about dialog. Patch by Todd Rovito. -- cgit v0.12