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

History Of Ticket 1788984fffffffff

Artifacts Associated With Ticket 1788984fffffffff

  1. Ticket change [b2927338b8] (rid 98357) by dgp on 2007-09-05 20:58:23:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      "For example, suppose the command
      set script [namespace code {foo bar}]
      is invoked in namespace ::a::b.
      Then eval "$script x y"
      can be executed in any namespace (assuming the value of
      script has been passed in properly)
      and will have the same effect as the command
      ::namespace eval ::a::b {foo bar x y}."
      
      For literal values like "x" and "y" this
      advice is fine, but for a value containing
      substitution characters, this doesn't work.
      In order to prevent the substitution from
      happening, the "..." quoting has to be rejected
      as the script building tool.  This leaves
      us with the safer [list]-based building schemes.
      
      eval $script [list x y]
      
      or
      
      eval [linsert $script end x y]
      
      are more generally correct solutions.
      
      
    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: "[namespace code] doc improvement "
    12. type initialized to: "Bug"
  2. Ticket change [dc474f310b] (rid 114449) by jenglish on 2007-09-06 05:44:34:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      I don't think the docs currently guarantee that 
      
           eval [linsert $script end x y]
      
      shall work.  However, it happens to be true, and it would be a good thing to guarantee.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  3. Ticket change [7727e3d617] (rid 89730) by msofer on 2007-09-13 07:42:56:

    1. foundin changed to: "obsolete: 8.5a7"
    2. priority changed to: "8"
  4. Ticket change [971b4504af] (rid 106450) by msofer on 2007-10-27 20:52:42:

    1. closedate changed to: "2007-10-27T13:52:42"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"