This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients cheryl.sabella, taleinat, terry.reedy, xtreak
Date 2019-01-18.17:13:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547831620.12.0.23890623653.issue35770@roundup.psfhosted.org>
In-reply-to
Content
> Since it is my fix, I will write the PR.  But first, please test part 2, changing '0' to '0:1', just to make sure it works.

Just tested it and it works fine with slice. Please find the respective diff and options menu displayed as below : 

git diff | cat
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index 9be4ed2ec4..16a13a0f2e 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -178,7 +178,7 @@ def overrideRootMenu(root, flist):
     del mainmenu.menudefs[-1][1][0:2]
     # Remove the 'Configure Idle' entry from the options menu, it is in the
     # application menu as 'Preferences'
-    del mainmenu.menudefs[-2][1][0]
+    del mainmenu.menudefs[-3][1][0]
     menubar = Menu(root)
     root.configure(menu=menubar)
     menudict = {}

Options menu
- Show code context (disabled)
- Zoom height

git diff | cat
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index 9be4ed2ec4..d6a1b376a1 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -178,7 +178,7 @@ def overrideRootMenu(root, flist):
     del mainmenu.menudefs[-1][1][0:2]
     # Remove the 'Configure Idle' entry from the options menu, it is in the
     # application menu as 'Preferences'
-    del mainmenu.menudefs[-2][1][0]
+    del mainmenu.menudefs[-3][1][0:1]
     menubar = Menu(root)
     root.configure(menu=menubar)
     menudict = {}

Options menu
- Show code context (disabled)
- Zoom height
History
Date User Action Args
2019-01-18 17:13:42xtreaksetrecipients: + xtreak, terry.reedy, taleinat, cheryl.sabella
2019-01-18 17:13:40xtreaksetmessageid: <1547831620.12.0.23890623653.issue35770@roundup.psfhosted.org>
2019-01-18 17:13:40xtreaklinkissue35770 messages
2019-01-18 17:13:40xtreakcreate