[Python-checkins] cpython (merge 3.5 -> default): Merge with 3.5
terry.reedy
python-checkins at python.org
Tue Oct 27 03:38:47 EDT 2015
https://hg.python.org/cpython/rev/3ca8a56955fc
changeset: 98868:3ca8a56955fc
parent: 98864:8828d7847e92
parent: 98867:eeb70cdbbb99
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Tue Oct 27 03:38:31 2015 -0400
summary:
Merge with 3.5
files:
Lib/idlelib/EditorWindow.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -887,9 +887,11 @@
except OSError as err:
if not getattr(self.root, "recentfilelist_error_displayed", False):
self.root.recentfilelist_error_displayed = True
- tkMessageBox.showerror(title='IDLE Error',
- message='Unable to update Recent Files list:\n%s'
- % str(err),
+ tkMessageBox.showwarning(title='IDLE Warning',
+ message="Cannot update File menu Recent Files list. "
+ "Your operating system says:\n%s\n"
+ "Select OK and IDLE will continue without updating."
+ % self._filename_to_unicode(str(err)),
parent=self.text)
# for each edit window instance, construct the recent files menu
for instance in self.top.instance_dict:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list