<i>Regression with TIP #636 in foreach</i> status still Closed with 5 other changes
by
.
D 2024-08-20T14:48:55.210
J closedate 2460543.11730567
J closer pooryorick
J icomment Doing\ssome\spost-mortem\sanalysis\son\sthis,\sBrian\ssaid\sbelow,\s"The\sDup-Pure\r\nremoves\sthe\sstring\srep,\sleaving\sthe\s"index"\sObjType\sinternal\srep.".\r\n<code>TclDuplicatePureObj()</code>\swould\snot\sremove\sthe\sstring\srepresentation\r\nof\san\sindividual\sitem\sin\sthe\slist\swhen\sconverting\sthe\stype\sto\stclListType,\sIt\r\nis\sonly\sthe\sfull\slist\srepresentation\swhich\sis\sdiscarded,\sand\r\n<code>SetListFromAny()</code>\ssees\sto\sit\sthat\seach\sindividual\slist\sitem\shas\sa\r\nstring\srepresentation\swhen\sconverting\sa\svalue\sof\sanother\stype\sto\sa\sstring.\r\nTherefore\sit\sis\ssafe\sto\suse\s<code>TclDuplicatePureObj()</code>\sto\sduplicate\r\ninto\sa\slist\stype.\s\sThere's\ssomething\sto\sthis\sstory\sthat\swas\snot\sdiscovered.
J login pooryorick
J mimetype text/x-fossil-wiki
K a34733451b2cf189528061944466cf7ce7015008
U pooryorick
Z 639bc34d3cb244f1cf7c8b30156693c5