[Python-Dev] Dealing with tone in an email

Chris Angelico rosuav at gmail.com
Sun May 6 10:03:27 EDT 2018


On Sun, May 6, 2018 at 6:54 PM, Terry Reedy <tjreedy at udel.edu> wrote:
>> Is it ALL of Tkinter that fails in threaded mode?
>
> No.  It is non-threaded tcl that fails in threaded mode, along with
> tkinter's attempt to make non-thread tcl work anyway.  There are at least
> two different cases.
>
> Ivan has clarified the following.
> 1. Tcl has a 'threads' compile switch.
> 2. The default changed from 'off' for 8.5 and before to 'on' for 8.6.
> 3. When compiled with thread support, the resulting library file has t
> suffix.

Okay, that makes a HUGE difference. Thank you for clarifying. So, in
theory, threads SHOULD be supported, which means that bug reports of
the nature of "this fails in threaded mode" are 100% valid.

If it were up to me, I would deprecate non-threaded mode immediately,
with a view to just paying whatever price threaded mode incurs
(presumably performance) starting in Python 3.9 or thereabouts.
Supporting threads is a Good Thing.

Thank you for that explanation.

ChrisA


More information about the Python-Dev mailing list