Skip to content
Tcl Source Code Artifact [4efad712ae]
Login

Artifact [4efad712ae]

Artifact 4efad712ae9d1e4730cfbc45bbf663d836eaeea6:

Ticket change [4efad712ae] - Ticket [3598385fffffffff|3598385fff] <i>[dict exists] doesn&#39;t produce an error for non-dict values</i> status still Open with 4 other changes by pooryorick on 2012-12-31 23:12:22.
D 2012-12-31T23:12:22
J icomment Donal\ssays\she\shasn't\sseen\sa\scompelling\sreason\sto\srevert.\s\sIn\sthe\scase\sthat\sled\sto\sthis\sreport,\sa\sfunction\swanted\sto\sassume\sthat\sits\sargument\swas\sa\sdict,\sand\swhen\sit\swasn't,\sit\stook\ssome\sdevelopment\stime\sto\strace\sback\sto\sthe\sfact\sthat\sthe\s"type"\sof\sthe\sargument\swas\sinvalid\sin\sthe\sfirst\splace.\s\sPerhaps\sDonal\scould\sexplain\show\s"will\sthis\s[dict\sget]\swork"\sis\sactually\sthe\soperation\sof\sgreatest\spractical\sutility.\s\sIt\sseems\sto\sme\sthat\sany\sprogrammer\sasking\sabout\sthe\sexistence\sof\sa\skey\sin\sa\sdict\swould\sbe\ssurprised\sif\sthat\sdict\swasn't\sactually\sa\sdict,\sand\swould\swant\sto\sknow\sabout\sit\svia\san\serror\smessage\sin\sorder\sto\sfix\sthe\sproblem\sin\sthe\sprogram\slogic.\s\sAlso,\sdoesn't\s[dict\sexists],\slike\sthe\sother\s[dict]\scommands,\shave\sto\sconvert\sthe\svalue\sto\sa\sdict\sfirst,\sand\sat\sthat\spoint,\swouldn't\sthere\sbe\san\sopportunity\sto\sraise\sthe\sstandard\s"missing\svalue\sto\sgo\swith\skey"\s(I'm\snow\sused\sto\sthat\sverbiage\sas\smeaning\sthe\sdict\sis\sinvalid)\serror?\s\sRegarding\s[string\sis...],\smaybe\sit\sshould\sbe\spromoted\sto\s[is],\sand\sgiven\ssome\smechanism\sfor\sextension.\s\sBut\sI\sdigress.\n
J login pooryorick
J mimetype text/plain
J username pooryorick
K 3598385fffffffffffffffffffffffffffffffff
U pooryorick
Z 5515699ecb76f35850109cd81ea8cc7e