From: Zoran V. <zv...@ar...> - 2005-04-09 18:16:09
|
Am 09.04.2005 um 19:45 schrieb Stephen Deasey: > Take a look at tclobj.c: SetTimeInternalRep() -- it also invalidates > it's string rep. I wonder why this has never shown up as an error...? > > I've seen that allright. To be honest, I do not follow this but I found out if you do set opts "-a" ns_parseargs $opts "" it does not core. Then I looked into the TclDeleteLiteralTable and saw that they really do need to get internal string rep of the object for some strange lookups. So, I reasoned that if you *only* convert the internal rep, the string rep should not actually change. Therefore it *might* not be neccessary to trash it. By *virtualy* conecting those two facts, I decided to give it a try *without* trashing the string rep and it worked fine. So, if you need a very precise answer at the moment, I can't give it. I'd need to dig it even more. But since it seems to work now as-is, I'd leave it so. Zoran |