Skip to content
Tcl Source Code Artifact [cd9fea39e0]
Login

Artifact [cd9fea39e0]

Artifact cd9fea39e0c0df4f8b3040f9c14efb33660cb01f9a17b7fb1a5764911c5499ef:

Ticket change [cd9fea39e0] - Ticket [8dd2807066d7cc4d|8dd2807066] <i>bug with [expr]</i> status still Open with 3 other changes by sebres on 2025-11-10 19:48:49.
D 2025-11-10T19:48:49.903
J icomment Well,\sit\sis\sbasically\sa\snonsense\sthat\sthere\sis\sa\spublic\sTAKE\sfunction\swhich\smodify\sthe\sobject\sin\sthis\sway,\sand\sstill\sworse\sall\sthat\sdepending\son\sobjects\srefCount\s(only).\r\nI'm\snot\sagainst\sthe\srelease\sof\sthe\sinternal\srepresentation\sof\sobject\s-\snormally\sa\schange\sof\sinternal\srepresentation\smay\sindeed\shappen\s(even\sfor\sshared\sobjects,\sfor\sinstance\sif\sobject\sshimmers),\sbut\sthen\sthe\sstring\srepresentation\sstill\scontain\soriginal\svalue,\sso\sif\sinternal\srepresentation\sgets\sneeded\sagain,\sit'd\sbe\sreconstructed\sagain.\r\nAgain,\sfreeing\sof\sinternal\srepresentation\son\ssome\sobject\swithout\sstring\srepresentation\sis\sbad\sidea\sat\sall\s(regardless\sit\sis\sshared\sor\snot)\sand\sshall\sbe\salways\savoided.\sThe\semphasis\sis\son\salways.\sJust\sbecause\sit\smodifies\sthe\sobject\sdrastically\sand\sbecause\sit\sviolates\sEIAS\sconcept.\r\n\r\nTherefore\sthis\sissue\sis\sjust\san\saftereffect\sand\smay\shappen\sin\sother\scases\sby\susage\sof\sTcl_TakeBignumFromObj()\sfunction\s(also\son\ssome\sextensions).\r\n\r\nI\shave\san\salternative\ssolution\sfor\sthis:\r\n\r\n\s\s*\s\s8.6\srelated\sfix\sfor\sTcl_TakeBignumFromObj()\s-\s[57ed005b52d3d2c9]\r\n\s\s*\s\s9.0\srelated\sfix\sfor\sExprMaxMinFunc()\s(and\sTcl_TakeBignumFromObj())\s-\s[./vdiff?from=21cf0e8a72462aa8&to=bug-8dd2807066d7-9.0-minmax|bug-8dd2807066d7-9.0-minmax]
J login sebres
J mimetype text/x-fossil-wiki
K 8dd2807066d7cc4d8604164f39b7f0d65c0dc321
U sebres
Z 3c726c40044617db96725207dd8f719d