bpo-34120: fix IDLE freezing after closing dialogs#8603
bpo-34120: fix IDLE freezing after closing dialogs#8603taleinat merged 3 commits intopython:masterfrom
Conversation
Removed all calls to .grab_set() and .grab_release(), which are broken at the Tk level on macOS, and don't appear to have the desired effect elsewhere.
|
Note: The tests failed because of an IDLE test verifying that |
terryjreedy
left a comment
There was a problem hiding this comment.
It seems like a no-brainer that grab should be followed by release, except that we got away with just destroy, until we didn't.
I verified that you got added all the missing releases and that there is no apparent change on Windows.
Two of you claiming that this fixes the issue is good enough for me for now. Go ahead and merge and backport to 2.7.
|
Thanks @taleinat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
GH-8613 is a backport of this pull request to the 3.7 branch. |
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set().. (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
|
Thanks @taleinat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
GH-8615 is a backport of this pull request to the 3.6 branch. |
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing
.grab_release()calls to all places where we call.grab_set(). This was missing in all cases other than idlelib.searchbase.https://bugs.python.org/issue34120