[Python-checkins] cpython (2.7): #17585: Fixed IDLE regression. Now closes when using exit() or quit().
roger.serwy
python-checkins at python.org
Fri Apr 12 02:24:19 CEST 2013
http://hg.python.org/cpython/rev/99e363e67844
changeset: 83258:99e363e67844
branch: 2.7
parent: 83240:87331820569a
user: Roger Serwy <roger.serwy at gmail.com>
date: Thu Apr 11 19:13:21 2013 -0500
summary:
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
files:
Lib/idlelib/PyShell.py | 3 +++
Misc/NEWS | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1370,6 +1370,9 @@
self._line_buffer = line[size:]
return line[:size]
+ def close(self):
+ self.shell.close()
+
usage_msg = """\
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -37,6 +37,8 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list