1. Jason R. Coombs
  2. cpython-issue6727


Ned Deily  committed cb7421c Merge

Issue #10997: merge from 3.2

  • Participants
  • Parent commits 98bc9e3, 64a7fae
  • Branches default

Comments (0)

Files changed (2)

File Lib/idlelib/EditorWindow.py

View file
         # for each edit window instance, construct the recent files menu
         for instance in self.top.instance_dict:
             menu = instance.recent_files_menu
-            menu.delete(1, END)  # clear, and rebuild:
+            menu.delete(0, END)  # clear, and rebuild:
             for i, file_name in enumerate(rf_list):
                 file_name = file_name.rstrip()  # zap \n
                 # make unicode string to display non-ASCII chars correctly

File Misc/NEWS

View file
+- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
 - Issue #14443: Tell rpmbuild to use the correct version of Python in
   bdist_rpm. Initial patch by Ross Lagerwall.