Skip to content
Tcl Source Code Artifact [6d120a5b05]
Login

Artifact [6d120a5b05]

Artifact 6d120a5b05e3fc942c8545a4e069e74b3c360b6bbbb2b290b42d9185e1d4f6f6:

Ticket change [6d120a5b05] - New ticket [2bf9fbcb990c3f96|2bf9fbcb99] <i>Array &quot;tcl_platform&quot; should always contain entry &quot;threaded&quot; in tcl 9, but doesn&#39;t</i>. by EricBrunel on 2025-06-06 13:09:02.
D 2025-06-06T13:09:02.665
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment According\sto\s[](https://www.tcl-lang.org/software/tcltk/9.0.html\s""),\ssection\s"Notable\sincompatibilities",\stcl\s9\sis\salways\sthread-enabled,\sand\sthe\sbuild\soptions\s`--enable-threads`\s/\s`--disable-threads`\shave\sdisappeared.\r\n\r\nNow\sin\sthe\s"tclvars"\smanual\spage,\sit\ssays\sfor\sthe\sdocumentation\sof\sthe\sarray\s"`tcl_platform`"\sthat\sif\sthe\svariable\s"`threaded`"\sexists\sin\sthe\sarray,\sthen\sthe\sinterpreter\swas\scompiled\swith\sthreads\senabled.\sSo\sone\swould\ssuppose\sthat\sthis\svariable\salways\sexists\sin\stcl\s9,\ssince\sit\sis\salways\sthread-enabled.\sBut\sit\sdoesn't:\swith\sa\sbuild\sof\stcl\s9.0.1\sfrom\sthe\ssources,\sthere\sis\sno\svariable\s"`threaded`"\sin\sthe\sarray\s"`tcl_platform`".\r\n\r\nThis\sis\sa\sproblem,\ssince\ssome\sinterfaces\swith\sother\slanguages\s(namely\stkinter\sfor\sPython)\srely\son\sthe\spresence\sof\sthis\svariable\sto\sknow\sif\stcl\sis\sthread-enabled\sor\snot.\sIf\stcl\sis\smisidentified\sas\snot\sthread-enabled\swhen\sit\sactually\sis,\sit\scauses\sa\slot\sof\sissues,\sand\ssometimes\seven\scrashes.
J foundin v9.0.1
J is_private 0
J login EricBrunel
J priority 5\sMedium
J private_contact f6d4a0ab6bf27b9d6f6630658854c2945ae98b10
J resolution None
J severity Important
J status Open
J submitter EricBrunel
J subsystem 49.\sThreading
J title Array\s"tcl_platform"\sshould\salways\scontain\sentry\s"threaded"\sin\stcl\s9,\sbut\sdoesn't
J type Bug
K 2bf9fbcb990c3f9639039ad8e4e4b9912e80438f
U EricBrunel
Z c9d4459296b53bd6949933662d527f16