Skip to content
Tcl Source Code History Of Ticket 217863
Login

History Of Ticket 217863

Artifacts Associated With Ticket 217863

  1. Ticket change [958f9ebbe8] (rid 106175) by nobody on 2000-10-26 00:45:04:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2057 Bug
      Version: 8.1
      SubmitDate: '1999-05-13'
      LastModified: '2000-04-27'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: ericm
      RelatedBugIDs: 4836
      OS: Solaris
      OSVersion: 2.5.1
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '2000-04-27'
      
      
      Name:
      Byron Servies
      
      ReproducibleScript:
      Tcl_Obj *obj_p;
          obj_p = Tcl_NewIntObj(1);
          (void) Tcl_SetVar2Ex(interp, "gst::testvar", NULL, obj_p,
          TCL_LEAVE_ERR_MSG | TCL_NAMESPACE_ONLY);
      
      ObservedBehavior:
      Tcl_CreateObjCommand will create a namespace if one doesn't exist, but
          the SetVar commands do not.  Since there does not appear to be a
          documented C API for creating namespaces myself, I am unsure what to do.
           It does appear I can append the CREATE_NS_IF_UNKNOWN flag to the call,
          but that behavior isn't documented; just what I found in
          CreateObjCommand...
      
      DesiredBehavior:
      SetVar should create namespaces if they don't exist.  A better
          explaination of how to use the namespace facility from C would help as
          well.
      
      
      
      There exist a Tcl_(Create|Find)Namespace, which is what one should
      really use.  These are public APIs that unfortunately lack docs at
      the moment. 
      -- 09/15/1999 hobbs
      
      This bug is superceeded by 4836.
      
      - eric
       
      -- 04/27/2000 ericm
      
    4. foundin initialized to: "obsolete: 8.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "46. Traces"
    10. title initialized to:
      Tcl_SetVar2Ex() does not create new namespace (bad docs)
      
    11. type initialized to: "Bug"
  2. Ticket change [2851436419] (rid 88682) by welch on 2000-10-26 07:59:48:

    1. closedate changed to: "2000-10-26T00:59:48"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [f4a3a20c55] (rid 129954) by dgp on 2001-04-04 13:21:27:

    1. closedate changed to: "2001-04-04T06:21:27"
    2. closer changed to: "dgp"
    3. subsystem changed to: "07. Variables"