Skip to content
Tcl Source Code History Of Ticket 218540
Login

History Of Ticket 218540

Artifacts Associated With Ticket 218540

  1. Ticket change [45c06662f0] (rid 99404) by nobody on 2000-10-26 01:01:55:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 956 Bug
      Version: 8.0.3
      SubmitDate: '1998-12-14'
      LastModified: '2000-01-26'
      Severity: LOW
      Status: Released
      Submitter: pat
      ChangedBy: ericm
      OS: All
      FixedDate: '2000-01-26'
      FixedInVersion: 8.3
      ClosedDate: '2000-10-25'
      
      
      Name:
      Tim Wilson
      
      Extensions:
      None
      
      CustomShell:
      None
      
      ReproducibleScript:
      % info exists foo
      0
      % namespace which -variable foo
      (Returns nothing, meaning that variable does not exist.)
      % trace variable foo w bar
      % info exists foo
      0
      (I conclude that tracing a non-existent variable doesn't bring it into being.)
      % namespace which -variable foo
      ::foo
      (Uh-ho: namespace gives a contradictory answer.)
      %
      
      ObservedBehavior:
      Tracing a non-existant variable causes info exists and namespace which -variable to give different answers about whether the variable exists.
      
      DesiredBehavior:
      Consistency between info exists and namespace which.
      
      
      
      This is fixed in 8.3.  The namespace which command was not checking to see if the variable was undefined.
      
      - eric
      
      -- 01/20/2000 ericm
      
      On further investigate, it seems we cannot change this behavior without compromising backwards compatibility.  I have instead amended the documentation to reflect the discrepancy in behaviors.
      
      - eric
      
      -- 01/26/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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: "07. Variables"
    10. title initialized to:
      trace creates a variable visible to namespace which but not 
      
    11. type initialized to: "Bug"
  2. Ticket change [82475591cf] (rid 117209) by welch on 2000-10-26 08:24:13:

    1. closedate changed to: "2000-10-26T01:24:13"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"