Skip to content
Tcl Source Code History Of Ticket 1017022
Login

History Of Ticket 1017022

Artifacts Associated With Ticket 1017022

  1. Ticket change [da14460f9f] (rid 107712) by dgp on 2004-08-26 16:49:39:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % namespace eval foo {
          namespace ensemble create -command foo -subcommands bar
          namespace export foo
          proc bar args {puts bar}
      }
      % namespace import foo::foo     
      % foo bar
      bar
      % namespace ensemble exists foo
      0
      % namespace ensemble exists foo::foo
      1
      
      So [namespace ensemble exists]
      recognizes that [foo::foo] is an
      ensemble, but it insists that
      [foo] is not, even though they are
      two names of the same command.
      
      Contrast this with [info proc]:
      
      namespace eval foo {
          namespace export bar
          proc bar {} {}
      }
      % namespace import foo::bar
      % info procs bar
      bar
      % info procs foo::bar
      ::foo::bar
      
      So [proc]-iness is a property that
      both original commands and
      imported command share, but
      [ensemble]-ness is a property that
      imported commands lack, while
      original commands have.  This
      seems inconsistent.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "21. [namespace]"
    10. title initialized to: "imported ensembles are not recognized"
    11. type initialized to: "Bug"
  2. Ticket change [bfbeb8ba34] (rid 102299) by dkf on 2004-08-27 16:19:58:

    1. closedate changed to: "2004-08-27T09:19:58"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Fixed.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"