Serhiy Storchaka added the comment: Oops! Sorry, here is a patch.
Event.type is decoded. The address of the Event object is omitted as don't having much sense (this is short-living object). The name of widget is omitted since it is too long and usually know (in any case you can easy print both widget and event). Only non-default set attributes are output (thus the output depends on the type of the event). ---------- keywords: +patch Added file: http://bugs.python.org/file43342/tkinter_event_repr.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27294> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com