Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-112938: IDLE - Fix uninteruptable hang when Shell gets rapid conti…
…nuous output. (#124310) python/cpython#88496 replaced text.update with text.update_idletasks in colorizer.py and outwin.py to fix test failures on macOS. While theoretically correct, the result was Shell freezing when receiving continuous short strings to print. Test: `while 1: 1`. The guess is that there is no idle time in which to do the screen update. Reverting the change in one of the files, outwin, fixes the issue. Colorizer runs ever 1/20 second and seems to work fine. When running test-outwin on macOS, alias 'update' to 'update_idletasks on the text used for testing.
- Loading branch information