You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-03-04.21:36:05.197>created_at=<Date2009-02-10.02:55:05.997>labels= ['OS-mac', 'expert-IDLE', 'type-bug']
title='OS X IDLE.app and bin/idle: missing/extra menu options'updated_at=<Date2009-03-04.21:36:05.196>user='https://github.com/ned-deily'
IDLE is supposed to have various menu customizations when running on OS
X. But currently they do not all work and the menus vary if IDLE is
launched via IDLE.app versus via command line bin/idle. The most
noticeable issue is the lack of a Preferences menu item in IDLE.app to
access the IDLE configuration settings.
ANALYSIS There are inconsistent OS X execution checks scattered
throughout idlelib. Also, the bootstrap mechanism
for IDLE.app causes sys.executable to be set incorrectly.
Most importantly, idlemain imports idlelib before it
has fixed up the execution environment. This can cause
the menu fixup in idlelib.Bindings to be skipped.
SOLUTION Change idlemain to set up the execution environment
consistently and defer idlelib imports until it has done so.
Modify several OS X checks in idlelib for consistency.
I've fixed this for 3.1 in r69532. Fixed for 3.0 in r69533 (backport of
the other patch).
The actual checkin is based on "patch-nad0014-py3k-30.txt", but with some
minor tweaks (I use "idlelib.macosxSupport.runningAsOSXApp" throughout,
instead of sometimes doing the same check by hand).
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: