Skip to content
Tcl Source Code History Of Ticket 1439836fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1439836fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1439836fffffffffffffffffffffffffffffffff

  1. Ticket change [e29f0649e8] (rid 87663) by dgp on 2006-02-27 19:21:19:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The flag TCL_EVAL_GLOBAL ought to
      have identical impact as [uplevel #0],
      but these tests demo they are different
      when exec traces are present:
      
      test trace-21.9 {trace execution: TCL_EVAL_GLOBAL} {
          trace add execution foo enter soom
          proc ::soom args {lappend ::info SUCCESS [info level]}
          set ::info {}
          namespace eval test_ns_1 {
              proc soom args {lappend ::info FAIL [info level]}
              # [testevalobjv 1 ...] ought to produce the same
              # results as [uplevel #0 ...].
              testevalobjv 1 foo x
              uplevel #0 foo x
          }
          namespace delete test_ns_1
          trace remove execution foo enter soom
          set ::info
      } {SUCCESS 1 SUCCESS 1}
         
      test trace-21.10 {trace execution: TCL_EVAL_GLOBAL} {
          trace add execution foo leave soom
          proc ::soom args {lappend ::info SUCCESS [info level]}
          set ::info {}
          namespace eval test_ns_1 {
              proc soom args {lappend ::info FAIL [info level]}
              # [testevalobjv 1 ...] ought to produce the same
              # results as [uplevel #0 ...].
              testevalobjv 1 foo x
              uplevel #0 foo x
          }
          namespace delete test_ns_1
          trace remove execution foo leave soom
          set ::info
      } {SUCCESS 1 SUCCESS 1}
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "None"
    10. title initialized to: "exec trace: TCL_EVAL_GLOBAL vs. [uplevel #0]"
    11. type initialized to: "Bug"
  2. Ticket change [5a67be40c8] (rid 118136) by dgp on 2006-02-28 03:03:11:

    1. assignee changed to: "dgp"
    2. foundin changed to: "obsolete: 8.4.12"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      This additional test demos
      similar trouble with [::unknown]:
      
      test parse-8.10 {Tcl_EvalObjv procedure, TCL_EVAL_GLOBAL}
      testevalobjv {
          rename ::unknown unknown.save
          proc ::unknown args {lappend ::info [info level]}
          catch {rename ::noSuchCommand {}}
          set ::info {}
          namespace eval test_ns_1 {
              testevalobjv 1 noSuchCommand
              uplevel #0 noSuchCommand
          }
          namespace delete test_ns_1
          rename ::unknown {}
          rename unknown.save ::unknown
          set ::info
      } {1 1}
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. subsystem changed to: "45. Parsing and Eval"
    7. title changed to: "TCL_EVAL_GLOBAL vs. [uplevel #0]"
    8. username: "dgp"
  3. Ticket change [b90f079d53] (rid 129062) by dgp on 2006-02-28 05:45:49:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      here's a patch with the
      tests and the fix.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [f825e01522] (rid 91490) by dgp on 2006-02-28 05:45:50:

    1. icomment:
      
      
      File Added - 169072: 1439836.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [978d27e8d8] (rid 110459) by dgp on 2006-02-28 06:49:11:

    1. icomment:
      
      
      File Deleted - 169072: 
      
      
      
      File Added - 169080: 1439836.patch
      
      Logged In: YES 
      user_id=80530
      
      revised patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Add attachment "1439836.patch" [837ee8adff] (rid 117390) by dgp on 2006-02-28 06:49:11.

  7. Ticket change [18d571755b] (rid 122729) by dgp on 2006-02-28 06:56:21:

    1. icomment:
      
      
      File Added - 169083: 1439836-85.patch
      
      Logged In: YES 
      user_id=80530
      
      
      here's the corresponding patch
      for the HEAD
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Add attachment "1439836-85.patch" [8a78ff5e6e] (rid 127397) by dgp on 2006-02-28 06:56:21.

  9. Ticket change [2fb5279457] (rid 93109) by dgp on 2006-02-28 22:49:45:

    1. closedate changed to: "2006-02-28T15:49:45"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Patches committed.  Bug fixed
      for 8.4.13 and 8.5a4.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"