[issue43217] tkinter style map return value in alt theme

2021-02-14 Thread misianne
misianne added the comment: Tested W10 Python 3.9.1: map output is OK. It is a problem of Python 3.8.6 under W7. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43217] tkinter style map return value in alt theme

2021-02-14 Thread misianne
misianne added the comment: My os is windows 7, Python 3.8.6. Obviously, I can't test it on 3.9+. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43217] tkinter style map return value in alt theme

2021-02-13 Thread misianne
New submission from misianne : The return value for ttk.style().map('Treeview') is wrong for the 'background' value in the 'alt' theme: tuple are missing. Tcl alt Treeview map: -foreground {disabled #a3a3a3 {!disabled !selected} black selected #ff} -background {disabled #d9d9d9

[issue42467] slice().indices() returns incorrect values

2020-11-25 Thread misianne
New submission from misianne : I have a problem with slice().indices(): x=[0,1,2,3,4,5,6,7,8,9]*10 x[-91:-101:-3] # == [9, 6, 3, 0] OK! x[slice(*slice(-91,-101,-3).indices(len(x)))] # == [] WRONG! This is correct: x[-91:-100:-3] # == [9, 6, 3] OK! x[slice(*slice(-91,-100,-3).indices(len(x