New submission from Serhiy Storchaka: For debugging purpose it would be helpful to have an ability to show all Tcl commands executed by Tkinter. In particular it would be helpful for testing wherever some issue is Tkinter issue or Tcl/Tk issue.
I'm working on a patch, but there is a design question about an interface. In simplest case you set the debug property of Tk instance to True and all Tcl commands are printed to stdout or stderr in the form ready for executing with Tcl/Tk interpreter. You also can set the module global tkinter.debug to True, and this will affect all new Tk instances (as with tkinter.wantobjects). But maybe there is a need in larger customization? For example specifying the command that accepts every Tcl command as a string or a tuple? ---------- components: Tkinter messages: 269425 nosy: serhiy.storchaka, terry.reedy priority: normal severity: normal status: open title: Ability to trace Tcl commands executed by Tkinter type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com