[Python-checkins] cpython (2.7): close search and replace dialog after it is used (closes #17625)
benjamin.peterson
python-checkins at python.org
Thu Apr 4 04:38:12 CEST 2013
http://hg.python.org/cpython/rev/edcfd18840cc
changeset: 83094:edcfd18840cc
branch: 2.7
parent: 83027:be0586ebb842
user: Benjamin Peterson <benjamin at python.org>
date: Wed Apr 03 22:35:12 2013 -0400
summary:
close search and replace dialog after it is used (closes #17625)
files:
Lib/idlelib/ReplaceDialog.py | 1 +
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/idlelib/ReplaceDialog.py b/Lib/idlelib/ReplaceDialog.py
--- a/Lib/idlelib/ReplaceDialog.py
+++ b/Lib/idlelib/ReplaceDialog.py
@@ -122,6 +122,7 @@
text.undo_block_stop()
if first and last:
self.show_hit(first, last)
+ self.close()
def do_find(self, ok=0):
if not self.engine.getprog():
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,6 +21,8 @@
Library
-------
+- Issue #17625: In IDLE, close the replace dialog after it is used.
+
- Issue #17531: Fix tests that thought group and user ids were always the int
type. Also, always allow -1 as a valid group and user id.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list