Known Issues
Limitations and quirks:
References to all return values of Tcl commands are maintained in Tcl, purposefully preventing garbage collection in Tcl. This is not a big concern for Tcl tools that perform a limited sequence of tasks and then terminate, but can be seen as a problematic memory leak in other cases.
Be careful when passing bools to Tcl commands using the Python-style interface:
t.myfunc(myflag=True)leads to the Tcl commandmyfunc -myflagandt.myfunc(myflag=False)leads to the Tcl commandmyfunc, omitting myflag entirely. If you need Tcl commands likemyfunc -myflag trueandmyfunc -myflag false, pass “true” / “false” as strings.