Message394527
I can reproduce this consistently on macOS by running IDLE, typing "sys.ba" in the shell and pressing the tab key.
I've carefully narrowed this down to the call to acw.update() in AutoCompleteWindows.winconfig_event(). Removing that call makes everything work properly.
That call to acw.update() was added to address the bug reported in bpo-37849 (see PR GH-15267). That bug was reported on Windows, but apparently doesn't occur on macOS. A quick test on Ubuntu 20.04 with that call removed also appears to not exhibit that bug.
Therefore, I propose making that call only on Windows.
Note that there is already another fragile call in the same method that is conditionally called only on Windows, so there is definitely precedent for such a solution. |
|
Date |
User |
Action |
Args |
2021-05-27 10:02:07 | taleinat | set | recipients:
+ taleinat, rhettinger, terry.reedy, ronaldoussoren, ned.deily, serhiy.storchaka |
2021-05-27 10:02:07 | taleinat | set | messageid: <1622109727.39.0.374801058024.issue41611@roundup.psfhosted.org> |
2021-05-27 10:02:07 | taleinat | link | issue41611 messages |
2021-05-27 10:02:07 | taleinat | create | |
|