[issue40128] IDLE Show completions pop-up not working on macOS
Tal Einat
report at bugs.python.org
Tue Sep 14 02:25:49 EDT 2021
Tal Einat <taleinat+python at gmail.com> added the comment:
Note that _tkinter.TK_VERSION and _tkinter.TK_VERSION are simply "8.6", not enough to differentiate between patch versions. The best way to get this info appears to be tk.call("info", "patchlevel").
Specifically I suggest:
TK_VERSION = tuple(map(int, tk.call("info", "patchlevel").split(".")))
...
if (8, 6, 8) <= TK_VERSION < (8, 6, 10):
...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40128>
_______________________________________
More information about the Python-bugs-list
mailing list