classification
Title: IDLE menu customization is broken from OS X command lines
Type: Stage: resolved
Components: IDLE, Macintosh Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, python-dev, ronaldoussoren
Priority: release blocker Keywords: patch

Created on 2012-08-16 01:08 by ned.deily, last changed 2012-08-17 20:25 by ned.deily. This issue is now closed.

Files
File name Uploaded Description Edit
XXXXX_bin_idle_menus.patch ned.deily, 2012-08-16 01:08 review
Messages (3)
msg168346 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-08-16 01:08
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 #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.
msg168475 - (view) Author: Roundup Robot (python-dev) Date: 2012-08-17 20:23
New changeset 4610ac42130e by Ned Deily in branch 'default':
Issue #15678: Fix menu customization for IDLE started from OS X
http://hg.python.org/cpython/rev/4610ac42130e
msg168476 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-08-17 20:25
Applied for 3.3.0rc1
History
Date User Action Args
2012-08-17 20:25:57ned.deilysetstatus: open -> closed
resolution: fixed
messages: + msg168476

stage: commit review -> resolved
2012-08-17 20:23:26python-devsetnosy: + python-dev
messages: + msg168475
2012-08-16 01:08:11ned.deilycreate