]> granicus.if.org Git - python/commit
Issue #15678: Fix menu customization for IDLE started from OS X
authorNed Deily <nad@acm.org>
Fri, 17 Aug 2012 20:22:30 +0000 (13:22 -0700)
committerNed Deily <nad@acm.org>
Fri, 17 Aug 2012 20:22:30 +0000 (13:22 -0700)
commit6aaa03a9015cac1c1a7ce98b2531c106a15c9de0
tree7b2674ba624698c8c968c50cc04dc501864020a1
parentbbfe573d9d5fbae478199ccff07c39f5b2de499d
Issue #15678: Fix menu customization for IDLE started from OS X
command lines.  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, test 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.
Lib/idlelib/macosxSupport.py
Misc/NEWS