diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-01 04:36:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 04:36:21 (GMT) |
commit | 2e5f1a12597faba0fc24243ee384a7c6fe8fecbf (patch) | |
tree | 80afc0f0c71df7c257f7bdff32570e566ae4cf47 /Lib/idlelib/colorizer.py | |
parent | 2be3656855268dcfabec2c55cdb679038db33e29 (diff) | |
download | cpython-2e5f1a12597faba0fc24243ee384a7c6fe8fecbf.zip cpython-2e5f1a12597faba0fc24243ee384a7c6fe8fecbf.tar.gz cpython-2e5f1a12597faba0fc24243ee384a7c6fe8fecbf.tar.bz2 |
[3.11] gh-88496: Fix IDLE test hang on macOS (GH-104025) (#104027)
gh-88496: Fix IDLE test hang on macOS (GH-104025)
Replace widget.update() with widget.update_idletasks in two places.
(cherry picked from commit 4b27972f5fe816d3616f97f8643d8ad922473ab5)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/colorizer.py')
-rw-r--r-- | Lib/idlelib/colorizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/colorizer.py b/Lib/idlelib/colorizer.py index e9f19c1..b4df353 100644 --- a/Lib/idlelib/colorizer.py +++ b/Lib/idlelib/colorizer.py @@ -310,7 +310,7 @@ class ColorDelegator(Delegator): # crumb telling the next invocation to resume here # in case update tells us to leave. self.tag_add("TODO", next) - self.update() + self.update_idletasks() if self.stop_colorizing: if DEBUG: print("colorizing stopped") return |