[issue27294] Better repr for Tkinter event objects

Terry J. Reedy report at bugs.python.org
Sat Jun 11 16:16:48 EDT 2016


Terry J. Reedy added the comment:

Summary: Though I would like to see some refinements, this looks really useful as is and I would like it applied soon even if refinements have to wait for a second patch.

Moving the window did not generate a printed event.

I like the compact way of handling customization.  Two more possible exclusions: 1. The key state seems like it should only be interesting for key events.  2. The 4 mouse positions are pretty noisy and seem not relevant to key events, and to many other non-mouse events.

I wish "VirtualEvent event"s had the triggering sequence available, but you cannot change that.
.

----------
stage: patch review -> commit review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27294>
_______________________________________


More information about the Python-bugs-list mailing list