[New-bugs-announce] [issue27405] Ability to trace Tcl commands executed by Tkinter

Serhiy Storchaka report at bugs.python.org
Tue Jun 28 04:06:00 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27405>
_______________________________________


More information about the New-bugs-announce mailing list