Tcl Library Source Code

Artifact [bcef85f8df]
Login

Artifact bcef85f8dfc12d73c886d5b6c9b1e176992f5e16:

Ticket change [bcef85f8df] - Ticket [1643952fffffffff|1643952fff] <i>CommRunHook evaluates event hooks twice</i> status still Open with 5 other changes by cbascom 2007-01-25 21:58:55.
D 2007-01-25T21:58:55
J icomment Logged\sIn:\sYES\s\nuser_id=1600284\nOriginator:\sYES\n\nThe\sabove\sdescription\sdid\sindeed\sfix\sthe\sout\sof\sscope\svariables\sissue,\sbut\sI\shadn't\srealized\suntil\snow\sthat\sthe\sevent\shooks\swere\sgetting\sevaluated\stwice.\s\sThe\sfirst\stime\sthey\sare\sevaluated\sis\sinside\sthe\sif/else\sclause\sthat\schecks\sto\ssee\swhether\sanother\sinterpreter\sis\sin\suse\sor\snot.\s\sIn\sthis\scase,\sthe\suplevel\s1\swas\sused\swhen\sevaluating\sin\sthe\scurrent\sinterpreter\sso\svariables\swere\sindeed\sin\sscope.\s\sThe\ssame\sevent\shook\sis\sthen\sevaluated\sa\ssecond\stime\sby\sthe\seval\scommand\sjust\sbelow\sthat\sif/else\sclause\sand\sat\sthat\spoint\sthe\svariables\sare\sout\sof\sscope.\s\sI\sbelieve\sthe\sfix\sis\ssimply\sto\sremove\sthat\seval.\n
J login cbascom
J mimetype text/plain
J title CommRunHook\sevaluates\sevent\shooks\stwice
J username cbascom
K 1643952fffffffffffffffffffffffffffffffff
U cbascom
Z 44e5ab1f75f285f3cafe408e0d77132d