Skip to content
Tcl Source Code History Of Ticket 1963130fffffffff
Login

History Of Ticket 1963130fffffffff

Artifacts Associated With Ticket 1963130fffffffff

  1. Ticket change [6d6d67f2b1] (rid 128694) by dgp on 2008-05-13 14:43:02:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      When a particular type of command is
      [namespace import]ed, the import should
      identify as the same type as the original
      command.  For example, procs:
      
      % proc p {} {}
      % info procs p
      p
      % namespace export p
      % namespace eval import namespace import ::p
      % info procs import::p
      ::import::p
      
      
      Another example, ensembles:
      
      % namespace ensemble create -command e
      ::e
      % namespace ensemble exists e
      1
      % namespace export e
      % namespace eval import namespace import ::e
      % namespace ensemble exists import::e
      1
      
      But, look at objects:
      
      % package require TclOO
      0.3a0
      % namespace path oo
      % object create o
      ::o
      % info object isa object o
      1
      % namespace export o
      % namespace eval import namespace import ::o
      % info object isa object import::o
      0
      
      Oops!
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "[info object] can't detect imported objects"
    12. type initialized to: "Bug"
  2. Ticket change [e69f7f25a6] (rid 104323) by dkf on 2008-05-13 22:34:04:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Hmm, it seems that Tcl_GetObjectFromObj isn't doing the traverse (correctly? at all?)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [e05d0ba7d0] (rid 115179) by dkf on 2008-05-13 22:35:16:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      It's possible that this might not get fixed while TclOO is outside the core; I can't remember if code can traverse the import "links" without having access to internal structures...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [c53bfc0bbd] (rid 111963) by dkf on 2008-05-15 15:53:38:

    1. closedate changed to: "2008-05-15T08:53:38"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      I was wrong. There was an API that could do exactly what I needed. :-)
      
      Fixed.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"