<i>Regression with TIP #636 in foreach</i> status still Open with 3 other changes
by
.
D 2023-07-12T06:06:52.054
J icomment On\sfurther\sthought,\sI'll\smodify\smy\sthird\spoint\sas\s\r\n\r\n*\s\s`Tcl_DuplicateObj`\swas\sused\sin\sat\sleast\stwo\sways.\sOne\swas\sto\smake\san\sunshared\scopy\sfor\sfurther\smodification.\sThe\sother\swas\sto\sensure\sthe\sinternal\srep\sremained\svalid\s(e.g.\siterating\sa\slist)\seven\sthough\sno\smodification\swas\splanned.\s`TclDuplicatePureObj`\scan\sreplace\s`Tcl_DuplicateObj`\sin\sthe\sfirst\sinstance\ssince\sanyways\sthe\s`bytes`\swill\sbe\sinvalidated.\sOn\sthe\sother\shand,\sit\scan\sonly\sbe\sapplied\sin\sthe\ssecond\scase\sin\slimited\scases\swhere\sthe\sdup'ed\sobject\sis\snot\spreserved.\sFor\sexample,\simmediately\sdiscarded\safter\siteration\son\sa\slist.\sIn\sany\scase,\sall\suses\sneed\sto\sbe\sexamined\sfor\swhich\sof\sthe\stwo\scases\sapplies.
J login apnadkarni
J mimetype text/plain
K a34733451b2cf189528061944466cf7ce7015008
U apnadkarni
Z 38a920558c8f1373e153e4d08bc9e97b