cpython/Lib/tkinter
E-Paine aecf036738
bpo-41306: Allow scale value to not be rounded (GH-21715)
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.c (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
2020-10-08 06:30:13 -07:00
..
test bpo-41306: Allow scale value to not be rounded (GH-21715) 2020-10-08 06:30:13 -07:00
__init__.py bpo-41817: use new StrEnum to ensure all members are strings (GH-22348) 2020-09-22 08:01:17 -07:00
__main__.py
colorchooser.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
commondialog.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
constants.py
dialog.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
dnd.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
filedialog.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 16:21:19 -04:00
font.py bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) 2019-08-08 08:42:54 +03:00
messagebox.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
scrolledtext.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
simpledialog.py bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822) 2018-10-12 19:01:00 +03:00
tix.py bpo-39136: Fixed typos (GH-17720) 2019-12-28 17:16:02 -05:00
ttk.py bpo-39152: add missing ttk.Scale.configure return value (GH-17815) 2020-01-05 11:23:58 -05:00