[New-bugs-announce] [issue15678] IDLE menu customization is broken from OS X command lines

Ned Deily report at bugs.python.org
Thu Aug 16 03:08:12 CEST 2012


New submission from 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 #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.

----------
assignee: ned.deily
components: IDLE, Macintosh
files: XXXXX_bin_idle_menus.patch
keywords: patch
messages: 168346
nosy: ned.deily, ronaldoussoren
priority: release blocker
severity: normal
stage: commit review
status: open
title: IDLE menu customization is broken from OS X command lines
versions: Python 3.3
Added file: http://bugs.python.org/file26841/XXXXX_bin_idle_menus.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15678>
_______________________________________


More information about the New-bugs-announce mailing list