Artifacts Associated With Ticket 1574099
Ticket change [c1bc81cc82] (rid 111372) by msofer on 2006-10-09 22:26:43:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Ever since Tcl8.0, the documentation of Tcl_UpVar says about the flags: "Either TCL_GLOBAL_ONLY or 0; if non-zero, then destName is a global variable; otherwise it is a local to the current procedure (or global if no procedure is active)." Code comments, the procedure TestupvarCmd() and var-3.4 however say that TCL_NAMESPACE_ONLY is also accepted. A codesearch in google shows no users of any flag value other than 0 and TCL_GLOBAL_ONLY. Either the docs or the code requiring changing so that they agree. A priori, I would change the docs: even if unused, the ns-only flag value could be useful. OTOH, this is a *POTENTIAL INCOMPAT* - for anybody who would be relying on flags!=0 <=> flags==TCL_GLOBAL_ONLY Opinion?
- foundin initialized to: "obsolete: 8.5a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "07. Variables"
- title initialized to: "Tcl_UpVar(2)? and behaviour contrary to the docs"
- type initialized to: "Bug"
Ticket change [a8b692a2d8] (rid 99041) by dkf on 2006-10-10 05:46:43:
- icomment:
Logged In: YES user_id=79902 If the implementation has been that way for ages, might as well document it.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [611df2906c] (rid 92193) by msofer on 2006-10-10 06:40:16:
- icomment:
Logged In: YES user_id=148712 Agreed - no real incompatibility, anybody relying on the docs would have found it already.
- login: "msofer"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "msofer"
- icomment:
Ticket change [83855821f8] (rid 117393) by msofer on 2006-10-10 06:40:17:
- assignee changed to: "msofer"
- closedate changed to: "2006-10-09T23:40:17"
- closer changed to: "msofer"
- resolution changed to: "Fixed"
Ticket change [69eda1403b] (rid 128059) by dgp on 2006-10-10 20:07:45:
- icomment:
Logged In: YES user_id=80530 Looks like a doc update that was overlooked at the Tcl 7 -> 8 transition.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment: