Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5734bad3a5dbd50a153082994ca4bd45d1a39cdb
Ticket: 1057461fffffffffffffffffffffffffffffffff
info globals doesn't recognize ::
User & Date: harmol on 2004-10-30 20:57:22
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    according to help namespace:
    
    "topmost or global namespace has the name ``'' (i.e., 
    an empty string), although :: is a synonym"
    
    so you expect:
    
    [info globals ::tcl_platform], to give the 
    same result as:
    [info globals tcl_platform]
    
    However, (win XP, Activestate 8.4.6):
    
    info globals tcl_platform
    tcl_platform
    
    info globals ::tcl_platform
         
    (i.e. empty string)
    
    
    whereas:
    (bin) 62 % puts $tcl_version
    8.4
    (bin) 63 % puts $::tcl_version
    8.4
    
    I think the [info globals] command is at least not 
    consistent with respect to the naming convention and I 
    would like to file it as a bug.
    
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "harmol"
  9. subsystem changed to: "17. Commands I-L"
  10. title changed to: "info globals doesn't recognize ::"
  11. type changed to: "Bug"