Manifest of check-in
[2074e27c04]
- * generic/tclObj.c (TclInitObjSubsystem): Removed the
* tests/listObj.test: registration of the Tcl_ObjType's "list",
* tests/obj.test: "procbody", "index", "ensembleCommand",
"localVarName", and "levelReference". The only reason to register
a Tcl_ObjType is to have it returned by Tcl_GetObjType, and the
only reason for that is to retrieve a (Tcl_ObjType *) to pass to
Tcl_ConvertToType(). None of the types above can support a
Tcl_ConvertToType() call; they panic. Better not to offer something
than to lead users into a panic.
by
dgp on
2005-05-17 21:28:59.
B 7ff2693241fa7879db699d629adeab83f4711017
C \s\s\s\s\s\s\s\s*\sgeneric/tclObj.c\s(TclInitObjSubsystem):\s\s\s\s\s\s\sRemoved\sthe\n\s\s\s\s\s\s\s\s*\stests/listObj.test:\s\s\sregistration\sof\sthe\sTcl_ObjType's\s"list",\n\s\s\s\s\s\s\s\s*\stests/obj.test:\s\s\s\s\s\s\s"procbody",\s"index",\s"ensembleCommand",\n\s\s\s\s\s\s\s\s"localVarName",\sand\s"levelReference".\s\sThe\sonly\sreason\sto\sregister\n\s\s\s\s\s\s\s\sa\sTcl_ObjType\sis\sto\shave\sit\sreturned\sby\sTcl_GetObjType,\sand\sthe\n\s\s\s\s\s\s\s\sonly\sreason\sfor\sthat\sis\sto\sretrieve\sa\s(Tcl_ObjType\s*)\sto\spass\sto\n\s\s\s\s\s\s\s\sTcl_ConvertToType().\s\sNone\sof\sthe\stypes\sabove\scan\ssupport\sa\n\s\s\s\s\s\s\s\sTcl_ConvertToType()\scall;\sthey\spanic.\s\sBetter\snot\sto\soffer\ssomething\n\s\s\s\s\s\s\s\sthan\sto\slead\susers\sinto\sa\spanic.\n
D 2005-05-17T21:28:59
F ChangeLog 8696819df183b6f03c6ee73308440cea82be8516
F doc/load.n 3ec08f3a1e728f120635817709c9b9e5b532197b
F generic/tclBasic.c 11c78720f571ff5ebec007c9b1c696812153f21b
F generic/tclObj.c b4af8e18afcc2313ef4b8f14dd3e9f9f1ef1e344
F tests/listObj.test 1e9383b252d0830644ada17f405eee1a7a66ff53
F tests/obj.test 58019f4927a3f976319a6ffe40d402978fac3b5e
F win/tclWin32Dll.c 71ddfbb8fc86a20cb7ab7e4db19910e6fc9d280e
P c022adcc3beaafdc580fcebb6cbd98c542d97ac4
U dgp
Z 2c4d7a8e69c179f552ca2fae4b532fac