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

bpo-33924: original missed mac-specific menudef 'windows' to 'window'… #7920

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

roseman
Copy link
Contributor

@roseman roseman commented Jun 25, 2018

Two missed instances of 'windows' to 'window' conversion in the recent commit, specific to macOS. Prevents IDLE from starting.

https://bugs.python.org/issue33924

@miss-islington
Copy link
Contributor

Thanks @roseman for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-7922 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 26, 2018
…honGH-7920)

These should have been included in PR 7836.
(cherry picked from commit 4239773)

Co-authored-by: Mark Roseman <mark@markroseman.com>
@bedevere-bot
Copy link

GH-7923 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 26, 2018
…honGH-7920)

These should have been included in PR 7836.
(cherry picked from commit 4239773)

Co-authored-by: Mark Roseman <mark@markroseman.com>
@terryjreedy
Copy link
Member

Whoops. I will re-check 'windows' grep output for anything else.

The test_macosx coverage, now 45%, needs to be increased. The nested functions would be easy to test if pulled out to module scope. Is there any problem with circular imports failing if the 3 imports within overrideRootMenu are also moved to module scope, at the top?

    from tkinter import Menu
    from idlelib import mainmenu
    from idlelib import window

That would allow window to be mocked with a dict with mock functions.

No news needed because this is a continuation of PR #7836.

miss-islington added a commit that referenced this pull request Jun 26, 2018
…7920)

These should have been included in PR 7836.
(cherry picked from commit 4239773)

Co-authored-by: Mark Roseman <mark@markroseman.com>
miss-islington added a commit that referenced this pull request Jun 26, 2018
…7920)

These should have been included in PR 7836.
(cherry picked from commit 4239773)

Co-authored-by: Mark Roseman <mark@markroseman.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants