cpython/Lib/tkinter
Miss Islington (bot) bb8e49b420
bpo-41306: Allow scale value to not be rounded (GH-21715) (GH-96484)
This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed).

Going into more detail for those who want it, the Tk change was made in [commit 591f68c](591f68cb38) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](591f68cb38/generic/tkScale.cGH-L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`).

Automerge-Triggered-By: @pablogsal
(cherry picked from commit aecf036738)

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
2022-09-01 15:23:27 -04:00
..
test bpo-41306: Allow scale value to not be rounded (GH-21715) (GH-96484) 2022-09-01 15:23:27 -04:00
__init__.py [3.7] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17128) 2019-11-12 20:07:20 +02:00
__main__.py
colorchooser.py
commondialog.py
constants.py
dialog.py
dnd.py
filedialog.py
font.py
messagebox.py
scrolledtext.py
simpledialog.py
tix.py [3.7] bpo-39136: Fixed typos (GH-17720) 2019-12-29 01:40:49 -05:00
ttk.py bpo-39152: add missing ttk.Scale.configure return value (GH-17815) 2020-01-05 08:49:48 -08:00