Mysterious tkinter bug: tk.Button doesn't think it passed event <1>

Terry Reedy tjreedy at
Fri Jul 3 00:54:20 CEST 2015

On 7/2/2015 6:33 PM, Ben Elam wrote:
> I've stripped things down to the least amount of code necessary to
> reproduce the error. I can make tk.Button handle event '<3>' but not
> event '<1>'. That is, the function the event is passed to receives
> the event and can even print the address of the event object, but a
> callback later produces an error suggesting that no event was
> actually passed to the function. Also, tk.Label handles '<1>' without
> problem. What gives?
> Code, errors, and slightly more details here:

This page has 'slightly more details' but no code or error messages and 
no clickable links, just some red highlights for a few things like So I cannot investigate.

Terry Jan Reedy

More information about the Python-list mailing list