Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
[3.8] bpo-37929: IDLE: avoid Squeezer-related config dialog crashes (GH-15452)#15485
Merged
miss-islington merged 1 commit intopython:3.8fromAug 25, 2019
Merged
Conversation
…GH-15452)These were caused by keeping around a reference to the Squeezerinstance and calling it's load_font() upon config changes, whichsometimes happened even if the shell window no longer existed.This change completely removes that mechanism, instead having theeditor window properly update its width attribute, which can thenbe used by Squeezer.(cherry picked from commitd4b4c00)Co-authored-by: Tal Einat <taleinat+github@gmail.com>
ContributorAuthor
miss-islington commentedAug 25, 2019
@taleinat: Status check is done, and it's a success ✅ . |
terryjreedy approved these changesAug 25, 2019
ContributorAuthor
miss-islington commentedAug 25, 2019
@taleinat: Status check is done, and it's a success ✅ . |
1 similar comment
ContributorAuthor
miss-islington commentedAug 25, 2019
@taleinat: Status check is done, and it's a success ✅ . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
These were caused by keeping around a reference to the Squeezer
instance and calling it's load_font() upon config changes, which
sometimes happened even if the shell window no longer existed.
This change completely removes that mechanism, instead having the
editor window properly update its width attribute, which can then
be used by Squeezer.
(cherry picked from commitd4b4c00)
Co-authored-by: Tal Einattaleinat+github@gmail.com
https://bugs.python.org/issue37929