Skip to content
Tcl Source Code History Of Ticket 218146ffffffffff
Login

History Of Ticket 218146ffffffffff

Artifacts Associated With Ticket 218146ffffffffff

  1. Ticket change [e07f0a194c] (rid 115205) by nobody on 2000-10-26 00:53:44:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2122 Bug
      Version: 8.1
      SubmitDate: '1999-05-24'
      LastModified: '1999-08-08'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: Windows 95
      OSVersion: 8.1 and 8.0.4
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '1999-08-08'
      
      
      Name:
      John Baxter
      
      ReproducibleScript:
      The following are commands typed in wish and the responses (on Windows
          95).
          
          % variable x ""
          % puts $x
          
          % variable y "a"
          % puts $y
          a
          % namespace eval foo variable z ""
          % puts ${foo::z}
          can't read "foo::z": no such variable
          % namespace eval foo variable w "a"
          % puts ${foo::w}
          a
          %
      
      ObservedBehavior:
      The behavior with respect to the variable foo::z seems inconsistent with
          the other cases as well as with the man page on the "variable" command.
      
      DesiredBehavior:
      Initializing a variable with a value should make it readable.
      
      
      
      This is a conceptual error, and the result is as expected and
      documented.  The namespace eval, like normal eval, will concat
      the args together.  This causes an empty string ("") to just
      disappear.  The command doesn't fail because variable with just
      one arg is acceptable.  The safer way to call namespace eval is:
         namesapce eval foo { variable z "" } 
      -- 08/08/1999 hobbs
      
    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: "69. Other"
    10. title initialized to:
      the "variable" command doesn't always initialize properly.
      
    11. type initialized to: "Bug"
  2. Ticket change [12ae4976fa] (rid 124083) by welch on 2000-10-26 08:15:56:

    1. closedate changed to: "2000-10-26T01:15:56"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [1decb862e2] (rid 90888) by dgp on 2001-04-18 06:28:18:

    1. closedate changed to: "2001-04-17T23:28:18"
    2. closer changed to: "dgp"
    3. subsystem changed to: "07. Variables"
    4. title changed to:
      the "variable" command doesn't always initialize properly.
      
  4. Ticket change [c7aae88a99] (rid 121976) by dgp on 2001-04-18 06:28:40:

    1. closedate changed to: "2001-04-17T23:28:40"
    2. closer changed to: "dgp"
    3. resolution changed to: "Invalid"
    4. title changed to:
      the "variable" command doesn't always initialize properly.