Skip to content

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 <[email protected]>
@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 <[email protected]>
@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 <[email protected]>
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 <[email protected]>
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