diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index 37b7b517c51..c42b29d55b9 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -190,10 +190,10 @@ def ask_save_dialog(self): 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 5f0acc3c4aa..445536df66b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -37,6 +37,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 #11052: Correct IDLE menu accelerators on Mac OS X for Save commands.