Skip to content
Tcl Source Code Artifact [7cd415845f]
Login

Artifact [7cd415845f]

Artifact 7cd415845f4f2323454a5484c2c69fa9730a8bf5:

Ticket change [7cd415845f] - Ticket [1017884fffffffff|1017884fff] <i>uplevel can shimmer to string unnecessarily</i> status still Open with 4 other changes by msofer on 2004-08-28 04:14:06.
D 2004-08-28T04:14:06
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nMy\sfirst\sreaction\sto\sthis\sis:\salways\sspecify\sthe\slevel,\sdo\nnot\srely\son\sthe\sdefault!\n\nMy\ssecond\sreaction\sis:\show\sdo\syou\sthink\sthis\scould\sbe\sfixed?\nOne\sidea\sis\sto\sassume\sthat,\sif\sthere\sis\sjust\sone\sargument\sto\nuplevel\sand\sit\sis\sa\spure\slist,\sit\shas\sto\sbe\sa\sscript\sand\swe\ncould\savoid\sparsing\sit.\sBut\sthen\sthe\sfollowing\sscript\swould\nhave\sa\sdifferent\sbehaviour:\n\n\s\s%\sproc\s1\s{}\s{puts\shi}\n\s\s%\sproc\sa\s{}\s{uplevel\s[list\s1]}\n\s\s%\sa\n\s\swrong\s#\sargs:\sshould\sbe\s"uplevel\s?level?\scommand\s?arg\s...?"\n\nSo\snow\sthe\squestion\sis:\sis\sthis\sjust\sa\sperformance\sbug,\sor\sa\nreal\sbug?\sIe,\sshould\sthat\sscript\sprint\s"hi"\sor\sreturn\san\nerror\sas\sit\sdoes\snow?\n
J login msofer
J mimetype text/plain
J username msofer
K 1017884fffffffffffffffffffffffffffffffff
U msofer
Z d6369b6d1dbcc32c123061ef419effc1