summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2011-01-29 18:43:56 (GMT)
committerNed Deily <nad@acm.org>2011-01-29 18:43:56 (GMT)
commit806c944edb4919288bfec7b24079df1472d42055 (patch)
tree3ad156ef892cf8bbf27b6a036c2a427928d13e6c
parent70063937ec871a8c4884a359a94be1bbb737daf4 (diff)
downloadcpython-806c944edb4919288bfec7b24079df1472d42055.zip
cpython-806c944edb4919288bfec7b24079df1472d42055.tar.gz
cpython-806c944edb4919288bfec7b24079df1472d42055.tar.bz2
Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
preventing a confusing hung appearance on OS X with the windows obscured. (with release manager approval for 3.2rc2)
-rw-r--r--Lib/idlelib/ScriptBinding.py4
-rw-r--r--Misc/NEWS4
2 files changed, 6 insertions, 2 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
index 37b7b51..c42b29d 100644
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -190,10 +190,10 @@ class ScriptBinding:
icon=tkMessageBox.QUESTION,
type=tkMessageBox.OKCANCEL,
default=tkMessageBox.OK,
- parent=self.editwin.text)
+ master=self.editwin.text)
return mb.show()
def errorbox(self, title, message):
# XXX This should really be a function of EditorWindow...
- tkMessageBox.showerror(title, message, parent=self.editwin.text)
+ tkMessageBox.showerror(title, message, master=self.editwin.text)
self.editwin.text.focus_set()
diff --git a/Misc/NEWS b/Misc/NEWS
index 68445ab..c0b0bfe 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,6 +16,10 @@ Core and Builtins
Library
-------
+- Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
+ preventing a confusing hung appearance on OS X with the windows
+ obscured.
+
- Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
menu accelerators for Open Module, Go to Line, and New Indent Width.
The accelerators still work but no longer appear in the menu items.