This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients darthur90, lukasz.langa, miss-islington, ned.deily, pablogsal, ronaldoussoren, taleinat, terry.reedy, thsubaku9
Date 2021-09-14.06:25:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631600749.64.0.212603285055.issue40128@roundup.psfhosted.org>
In-reply-to
Content
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):
    ...
History
Date User Action Args
2021-09-14 06:25:49taleinatsetrecipients: + taleinat, terry.reedy, ronaldoussoren, ned.deily, lukasz.langa, pablogsal, miss-islington, darthur90, thsubaku9
2021-09-14 06:25:49taleinatsetmessageid: <1631600749.64.0.212603285055.issue40128@roundup.psfhosted.org>
2021-09-14 06:25:49taleinatlinkissue40128 messages
2021-09-14 06:25:49taleinatcreate