[issue29559] Detect mouse over lines on canvas while mouse button is down

2017-02-14 Thread Ted Shaneyfelt
New submission from Ted Shaneyfelt: There way mouse captures are done, mouse-over events seem to be disabled while dragging. This makes it difficult to provides hints as feedback, and more complicated than it should be to detect when dropping over a particular line object. Tk may

[issue29467] Allow return mismatch to be caught by function

2017-02-06 Thread Ted Shaneyfelt
New submission from Ted Shaneyfelt: def f(): try: return 0 except: return 1,2 x = f() # x is 0 x,y = f() # proposal: x,y should be 1,2 instead of uncaught TypeError It would make sense to be able to catch [TypeError: 'int' object is not iterable] and return the correct number