[issue33257] Race conditions in Tkinter with non-threaded Tcl

Ivan Pozdeev report at bugs.python.org
Wed May 2 23:35:03 EDT 2018


Ivan Pozdeev <ivan_pozdeev at mail.ru> added the comment:

> Is threaded tcl just a compile switch, as with CPython?

Yes.

In tcl.vcxproj, tk.vcxproj and tix.vcxproj, there are parameters named like TclOpts that are passed as OPTS arg to the lib's makefiles. For Tcl 8.5, you need to pass "threads" to build with threads; for 8.6, "nothreads" to build without.

Also, in tcltk.props, the resulting DLL/LIB names are hardcoded with or without the 't' suffix. You'll need to fix that if you wish to switch the Tcl flavor.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33257>
_______________________________________


More information about the Python-bugs-list mailing list