: <i>Object type info can be lost after comparison (e.g. INST_EQ)</i> plus 8 other changes
by
.
D 2008-02-14T03:20:44
J assignee dgp
J closedate 2008-02-13T20:20:44
J closer dgp
J icomment Logged\sIn:\sYES\s\nuser_id=80530\nOriginator:\sNO\n\n\nOf\scourse,\sstrictly\sspeaking,\sall\sTcl\nvalues\sare\sstring-based\sin\stheir\ssemantics,\sso\nan\sinability\sto\srestore\sfrom\sstring\srep\nis\san\sunsupported\s(ab)use\sof\sthe\sTcl_ObjType\nsystem.\n\nThat\ssaid,\sfolks\sdo\smake\sthis\ssort\sof\sthing\nwork\sacceptably\swell.\s\sDue\sto\swhat\sis\sreported\nhere,\sand\sother\splaces\swhere\sthe\score\smay\nshimmer\sintreps,\sif\syou\shave\ssuch\sa\svalue\nthat\sisn't\sfully\sspecified\sby\sthe\sstring\nrep\syou\shave\schosen,\sit\sis\sbest\sif\syou\schoose\na\sstring\srep\sthat\scan't\sbe\sconverted\sto\nthe\sknown\score\stypes.\s\sYou\scan\sonly\shave\nyour\sfragile\svalue\sget\sconverted\svia\nTcl_GetWideIntFromObj()\sif\syou've\schosen\na\sstring\srep\sthat\sis\sa\svalid\swide\sinteger.\nDon't\sDo\sThat.\n\n
J login dgp
J mimetype text/plain
J resolution Invalid
J status Pending
J username dgp
K 1893052fffffffffffffffffffffffffffffffff
U dgp
Z 8273eaa8cb9f8171c3896caff38fb78b