Skip to content
Tcl Source Code Artifact [0dec760c03]
Login

Artifact [0dec760c03]

Artifact 0dec760c03e386dc29b8ae662fc6a5ab7df8a435:

Ticket change [0dec760c03] - Ticket [1917650fffffffff|1917650fff] <i>Tcl_ConvertToType(, , doubleType) incompatibility</i> status still Open with 4 other changes by das on 2008-06-17 07:32:27.
D 2008-06-17T07:32:27
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sNO\n\nAlexandre,\n\nthis\ssubject\shas\sa\slong\shistory,\sAFAIK\sthe\sbehaviour\schanges\sw.r.t\nnumberic\stypes\swas\sa\scompletely\sintentional\spart\sof\sTIP\s#249:\n\n>\sFirst,\sas\smentioned\sabove,\sC\sextensions\swill\sno\slonger\shave\sfine\scontrol\n>\sover\sTcl's\sbuilt-in\snumeric\stypes,\sbecause\sthe\stypes\swill\snot\sbe\n>\sregistered\sand\shence\swill\sbe\sunavailable\sfor\suse\swith\sTcl_ConvertToType.\n>\sThis\sis\sactually\sa\sgood\sthing,\ssince\sit\smeans\sthat\sthe\srest\sof\sTcl\scan\n>\sassume\sthat\sthey\sare\swell-behaved,\sresulting\sin\sa\sconsiderable\n>\ssimplification.\sMost\sof\sthe\sTcl\sCore\sTeam\sbelieves\sthat\n>\sTcl_ConvertToType\shas\sno\slegitimate\suse\sin\sany\scase.\n>\sSecond,\sit\swill\sno\slonger\sbe\scorrect\sto\sassume\sthat\sTcl_Get*FromObj\swill\n>\sleave\san\sinternal\srepresentation\sof\sprecisely\sthe\srequested\stype.\sIt\sis,\n>\sin\sany\scase,\sa\shighly\squestionable\spractice\sfor\scallers\sto\sassume\sa\n>\sspecific\sinternal\srepresentation\s(with\sthe\spossible\sexception\sof\n>\sTcl_Set*Obj\sand\sTcl_New*Obj).\sThere\swill\sno\sdoubt\sbe\sa\sfew\sextensions\n>\sthat\srun\safoul\sof\sthis\schange,\sbut\sthey\scan\sbe\sfixed\seasily\sin\ssuch\sa\n>\sway\sthat\sthey\swill\scontinue\sto\scompile\sand\srun\son\searlier\sversions\sof\n>\sTcl.\n\nthe\soriginal\sintent\sof\sthe\sTIP\sto\shave\sthe\snumberic\sObjTypes\sunregistered\nwas\srelaxed\sbecause\sof\sbackwards\scompatibility\sproblems\swith\sextensions\nthat\sdid\snot\sexpect\sa\sNULL\sresult\sfrom\sTcl_GetObjType()\s(for\sinstance\sI\nran\sinto\sthis\swith\sFfidl).\n\nMost\sof\sthis\sis\sdocumented\sin\sthe\sChangeLog,\sand\swas\salso\sdiscussed\nseveral\stimes\son\stcl-core\sI\sthink.\n\nKevin\smight\sbe\sthe\sbest\sperson\sto\sask\sfor\sfurther\sdetails.\n\nThere\sis\sa\sdefinitely\sdoc\sbug\sfor\sTcl_ConvertToType\shere\sbut\sprobably\nnothing\smore...\n\n
J login das
J mimetype text/plain
J username das
K 1917650fffffffffffffffffffffffffffffffff
U das
Z bad45130409df5f329caba08ff7087cb