Skip to content

Commit 1afc7b3

Browse files
authored
bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343)
The line that should not have been needed on macOS tk 8.6.8 but was, should not be a problem on Ubuntu, but is. It is not needed on macOS tk 8.6.11, installed with 3.10. Disable it but leave it for now in case some system needs it.
1 parent 369bf94 commit 1afc7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/autocomplete_w.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def show_window(self, comp_lists, index, complete, mode, userWantsWin):
206206
scrollbar.config(command=listbox.yview)
207207
scrollbar.pack(side=RIGHT, fill=Y)
208208
listbox.pack(side=LEFT, fill=BOTH, expand=True)
209-
acw.update_idletasks() # Need for tk8.6.8 on macOS: #40128.
209+
#acw.update_idletasks() # Need for tk8.6.8 on macOS: #40128.
210210
acw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
211211

212212
# Initialize the listbox selection

0 commit comments

Comments
 (0)