Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE menu customization is broken from OS X command lines #59883

Closed
ned-deily opened this issue Aug 16, 2012 · 3 comments
Closed

IDLE menu customization is broken from OS X command lines #59883

ned-deily opened this issue Aug 16, 2012 · 3 comments

Comments

@ned-deily
Copy link
Member

BPO 15678
Nosy @ronaldoussoren, @ned-deily
Files
  • XXXXX_bin_idle_menus.patch
  • 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 = <Date 2012-08-17.20:25:57.837>
    created_at = <Date 2012-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 = <Date 2012-08-17.20:25:57.836>
    user = 'https://github.com/ned-deily'

    bugs.python.org fields:

    activity = <Date 2012-08-17.20:25:57.836>
    actor = 'ned.deily'
    assignee = 'ned.deily'
    closed = True
    closed_date = <Date 2012-08-17.20:25:57.837>
    closer = 'ned.deily'
    components = ['IDLE', 'macOS']
    creation = <Date 2012-08-16.01:08:11.838>
    creator = 'ned.deily'
    dependencies = []
    files = ['26841']
    hgrepos = []
    issue_num = 15678
    keywords = ['patch']
    message_count = 3.0
    messages = ['168346', '168475', '168476']
    nosy_count = 3.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'python-dev']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue15678'
    versions = ['Python 3.3']

    @ned-deily
    Copy link
    Member Author

    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
    Copy link
    Mannequin

    python-dev mannequin commented 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
    Copy link
    Member Author

    Applied for 3.3.0rc1

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant