summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-15 07:37:35 (GMT)
committerGitHub <noreply@github.com>2021-09-15 07:37:35 (GMT)
commit0c64569ac7066a97e4482c6d6e4d780806692ae5 (patch)
tree6b1d81655689692727bf856cacb86a4b6a158e7f /Lib/idlelib
parent8a9396cf1d9e1ce558841095e1ce0d3c23b7a8aa (diff)
downloadcpython-0c64569ac7066a97e4482c6d6e4d780806692ae5.zip
cpython-0c64569ac7066a97e4482c6d6e4d780806692ae5.tar.gz
cpython-0c64569ac7066a97e4482c6d6e4d780806692ae5.tar.bz2
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. (cherry picked from commit 1afc7b3219b24c951bb4e6b7e1ead904228de074) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/autocomplete_w.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py
index 13ff60a..0f835a9 100644
--- a/Lib/idlelib/autocomplete_w.py
+++ b/Lib/idlelib/autocomplete_w.py
@@ -206,7 +206,7 @@ class AutoCompleteWindow:
scrollbar.config(command=listbox.yview)
scrollbar.pack(side=RIGHT, fill=Y)
listbox.pack(side=LEFT, fill=BOTH, expand=True)
- acw.update_idletasks() # Need for tk8.6.8 on macOS: #40128.
+ #acw.update_idletasks() # Need for tk8.6.8 on macOS: #40128.
acw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
# Initialize the listbox selection