Skip to content
Tcl Source Code History Of Ticket 2000423fff
Login

History Of Ticket 2000423fff

Artifacts Associated With Ticket 2000423fff

  1. Ticket change [39d399624d] (rid 112456) by dgp on 2008-06-23 03:05:55:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      [namespace code] constructs a script
      using the [namespace inscope] command
      to do its work.  [namespace inscope]
      is difficult to understand.
      
      I wonder whether the new [apply] command
      has enough power to serve as the primitive
      on which an equivalent, but different implementation
      of [namespace code] could be written.
      
    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: "21. [namespace]"
    11. title initialized to: "re-implement [namespace code]"
    12. type initialized to: "RFE"
  2. Ticket change [142648715e] (rid 124343) by dkf on 2008-06-23 15:46:51:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Experimentation indicates that the following is equivalent to 'namespace inscope', apart from the magical horror in [unknown].
        apply {{ns prefix args} {uplevel 1 [list namespace eval $ns $prefix $args]}}
      
      Don't know if this means that it is something you'd actually want to use though. That's not the most elegant code I've written.
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [b00ae39676] (rid 97919) by tallniel on 2008-06-30 23:25:08:

    1. icomment:
      Logged In: YES 
      user_id=102050
      Originator: NO
      
      My guess is that the following should be roughly equivalent to [namespace code], but
      would want to be a lot more sure of that "roughly":
      
      proc ns_code args { list apply [list {} $args [uplevel 1 namespace current]] }
      
      Was that what you were considering, DGP?
      
      
    2. login: "tallniel"
    3. mimetype: "text/plain"
    4. username: "tallniel"
  4. Ticket change [995c8e756e] (rid 110780) by msofer on 2008-08-06 21:57:23:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      The ugly hack in init.tcl: we should just REMOVE IT NOW! Let Itcl add that to ::unknown in its own loader, Tcl works fine without that. See Itcl's patch #2040295 at 
      https://sourceforge.net/tracker/index.php?func=detail&aid=2040295&group_id=13244&atid=313244
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [a2ae036f30] (rid 109938) by msofer on 2008-08-07 02:24:53:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      Ugly hack in init.tcl now gone
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [3e10ca6290] (rid 172070) by dgp on 2019-06-03 16:15:52:

    1. closer changed to: "nobody"
    2. comment changed to:
      [namespace code] constructs a script
      using the [namespace inscope] command
      to do its work.  [namespace inscope]
      is difficult to understand.
      
      I wonder whether the new [apply] command
      has enough power to serve as the primitive
      on which an equivalent, but different implementation
      of [namespace code] could be written.
      
    3. icomment:
      
      Now that TIP 284 is getting consideration, another look at this may also be in order?
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"