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

History Of Ticket 1585064fffffffff

Artifacts Associated With Ticket 1585064fffffffff

  1. Ticket change [883b4b3edc] (rid 131834) by mpc_janssen on 2006-10-26 12:49:32:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When executing the following script:
      
      namespace eval debug {
       namespace export breakpoint
       proc on {} {proc breakpoint {{s {}}} {puts on}}
        proc off {} {proc breakpoint args {}}
        off
       }
      
      namespace import ::debug::*
      
      ::debug::on
      breakpoint
      
      No ouptut is shown while I expected on to be shown.
      
      when forcing reimport of the breakpoint proc with
      
      namespace import -force ::debug::*
      
      on is displayed for subsequent calls to breakpoint
      
      also when using the FQN ::debug::breakpoint on is
      displayed.
      
      When the off proc is defined as:
      
      proc off {} {proc breakpoint args {return}}
      
      It works as expected.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a5"
    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: "mpc_janssen"
    10. subsystem initialized to: "21. [namespace]"
    11. title initialized to:
      Namespace import behaves strange when redefining commands
      
    12. type initialized to: "Bug"
  2. Ticket change [801fd0f512] (rid 97679) by dgp on 2006-10-26 20:53:04:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      [09:49]dgpdo look at [control::assert] for how to do what
      I guess you are trying to do.
      [09:49]kbk checks into the chat.
      [09:49]dgpbut yes imports follow renames
      [09:50]dgpin the 8.0 timeframe this was considered a good
      thing
      [09:51]dgpmostly forced in as an arranged marriage to make
      "snapshot semantics" of [namespace import] live with
      autoloading of package commands.
      [09:51]dgpAIUI
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [aec0635ae8] (rid 101694) by dgp on 2006-10-26 20:54:52:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      I wrote "follows renames"
      but of course the issue here
      is "follows redefinitions".
      Sorry.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [195406622d] (rid 122792) by pcmacdon on 2007-10-18 10:24:02:

    1. icomment:
      Logged In: YES 
      user_id=190660
      Originator: NO
      
      Not sure if this helps, 
      but one workaround is to avoid the NOOP optimization
      by using a non-'args' signature or non-empty body on redefining
      an import.
      ie.
      
          proc breakpoint {{s {}}} {}
      
      or
      
          proc breakpoint {args} {;}
      
      
      
    2. login: "pcmacdon"
    3. mimetype: "text/plain"
    4. username: "pcmacdon"
  5. Ticket change [c060196735] (rid 102390) by msofer on 2008-07-30 06:56:16:

    1. closedate changed to: "2008-07-29T23:56:16"
    2. closer changed to: "msofer"
    3. status changed to: "Pending"
  6. Ticket change [72da83226b] (rid 104938) by sf-robot on 2008-08-13 09:20:28:

    1. closedate changed to: "2008-08-13T02:20:28"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"