Skip to content
Tcl Source Code History Of Ticket 3185407
Login

History Of Ticket 3185407

Artifacts Associated With Ticket 3185407

  1. Ticket change [1650d99359] (rid 124698) by apnadkarni on 2011-02-18 02:34:01:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In tclsh 8.6 (close to CVS HEAD)
                     % namespace eval ns {proc foo {} {}}
      % namespace eval ns2 {proc foo {} {}}
      % namespace path {ns ns2}
      % namespace which foo
      ::ns::foo
      % proc foo {} {}
      % namespace which foo
      ::ns::foo
      invoking [foo] does in fact invoke ::foo, not ::ns::foo
      And retrying from scratch, without the first [namespace which foo] returns ::foo
      
                     % namespace eval ns {proc foo {} {}}
      % namespace eval ns2 {proc foo {} {}}
      % namespace path {ns ns2}
      % proc foo {} {}
      % namespace which foo
      ::foo
      
      Sounds like some cache not being invalidated ?
      
      /Ashok
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    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: "apnadkarni"
    10. subsystem initialized to: "21. [namespace]"
    11. title initialized to: "namespace which command returns wrong result"
    12. type initialized to: "Bug"
  2. Ticket change [f33c7858ab] (rid 129670) by msofer on 2011-05-08 19:24:02:

    1. foundin changed to: "obsolete: 8.5.9"
    2. icomment:
      Bug is in 8.5 too
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  3. Ticket change [6a7a8bf19d] (rid 128155) by msofer on 2011-05-08 19:37:48:

    1. icomment:
      Problem seems to happen only at the interactive shell. It is NOT a problem with [namespace which], as shown by:
      
      
      % namespace eval ns {proc foo {} {puts [namespace current]}}
      % namespace eval ns2 {proc foo {} {puts [namespace current]}}
      % namespace path {ns ns2}
      % puts [namespace which foo]
      ::ns::foo
      % proc foo {} {puts [namespace current]}
      % puts [namespace which foo]
      ::ns::foo
      % foo
      ::
      % eval [list foo]
      ::ns
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. title changed to: "something in cmd name caching is very wrong"
    6. username: "msofer"
  4. Ticket change [a9cfc24dfb] (rid 99216) by msofer on 2011-05-08 20:01:53:

    1. assignee changed to: "dkf"
    2. icomment:
      Possible fix in branch bug-3185407. Assigning to the real NS expert for review (if approved, can commit and merge to trunk too)
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  5. Ticket change [6e0001c288] (rid 128801) by dkf on 2011-05-09 22:39:27:

    1. icomment:
      There does seem to be a performance hit, but I've yet to determine whether it matters (or even if it is a real effect or a nasty confounding cache problem on my machine).
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [cdf9221566] (rid 95977) by dkf on 2011-06-01 21:58:17:

    1. icomment:
      Despite the fact that I find it hard to grok just what's going wrong (or rather why it goes wrong in some places but not others) I still approve the change from bug-3185407; I can't see that it is wrong and it does appear to fix the problem. Performance impact appears minimal.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [4f8201972d] (rid 125838) by dkf on 2011-06-02 21:58:26:

    1. icomment:
      Fix applied to relevant mainline branches, including a test (derived from bug report; thanks!)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [5d334836bc] (rid 115415) by dkf on 2011-06-02 21:58:27:

    1. closedate changed to: "2011-06-02T14:58:27"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"