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
{{ message }}
Repository navigation
IDLE menu customization is broken from OS X command lines #59883
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='https://github.com/ned-deily'closed_at=<Date2012-08-17.20:25:57.837>created_at=<Date2012-08-16.01:08:11.838>labels= ['OS-mac', 'expert-IDLE', 'release-blocker']
title='IDLE menu customization is broken from OS X command lines'updated_at=<Date2012-08-17.20:25:57.836>user='https://github.com/ned-deily'
With 3.3.0b2, when IDLE is started from a command line using
an OS X framework build (such as provided by the python.org
installers), the Aqua Tk menu customization is no longer being
performed, for example, no Preferences menu item, an extra Options
menu, etc. It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for bpo-15307. Since sys.executable no
longer includes 'Python.app' in the path name, the attached patch
tests for a framework build instead. This should give the previous
behavior in nearly all cases. Whether the previous behavior is
sensible is left as an issue for later releases. IDLE.app behavior was
not affected as it does its own manipulation of sys.executable;
that should probably also be changed in the future.
Activity
ned-deily commentedon Aug 16, 2012
With 3.3.0b2, when IDLE is started from a command line using
an OS X framework build (such as provided by the python.org
installers), the Aqua Tk menu customization is no longer being
performed, for example, no Preferences menu item, an extra Options
menu, etc. It was broken as a side effect of the changes to
pythonw.c in b79d276041a8 for bpo-15307. Since sys.executable no
longer includes 'Python.app' in the path name, the attached patch
tests for a framework build instead. This should give the previous
behavior in nearly all cases. Whether the previous behavior is
sensible is left as an issue for later releases. IDLE.app behavior was
not affected as it does its own manipulation of sys.executable;
that should probably also be changed in the future.
python-dev commentedon Aug 17, 2012
New changeset 4610ac42130e by Ned Deily in branch 'default':
Issue bpo-15678: Fix menu customization for IDLE started from OS X
http://hg.python.org/cpython/rev/4610ac42130e
ned-deily commentedon Aug 17, 2012
Applied for 3.3.0rc1