Skip to content

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

Merged
terryjreedy merged 1 commit intopython:masterfrom
roseman:bpo-33924-mac
Jun 26, 2018
Merged

bpo-33924: original missed mac-specific menudef 'windows' to 'window'…#7920
terryjreedy merged 1 commit intopython:masterfrom
roseman:bpo-33924-mac

Conversation

@roseman
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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