Skip to content
Tcl Source Code History Of Ticket 1910136
Login

History Of Ticket 1910136

Artifacts Associated With Ticket 1910136

  1. Ticket change [bdf64e119e] (rid 101995) by sbron on 2008-03-08 16:13:12:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The vwait manual page claims that "varName must be globally scoped (either with a call to global for the varName, or with the full namespace path specification)."
      
      The opposite turns out to be the case. varName is always interpreted as global even if it hasn't been specified with the full namespace path and hasn't been globally scoped with a call to global.
      
      
    4. foundin initialized to: "obsolete: 8.5.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: "sbron"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "Misleading remark in vwait manpage"
    12. type initialized to: "Bug"
  2. Ticket change [fdcb492e38] (rid 108476) by ferrieux on 2008-03-08 23:35:17:

    1. icomment:
      Logged In: YES 
      user_id=496139
      Originator: NO
      
      Well, it *is* misleading but not the "opposite" of the truth.
      
      It is important to distinguish between the string representing the variable (which is the argument of vwait) and the variable itself. The fact that a proc calling [vwait] declares global a var of the same name has absolutely no effect. What's more important is that the event handlers that may unlock vwait can only refer globals, since they are defined to run at the global scope.
      
      Hence, here is a proposal for rephrasing:
      
        Consistently with what happens in event handlers, varName is always interpreted as
      global if it isn't qualified with a proper namespace prefix.
      
      
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [17d4fe0ade] (rid 122561) by dkf on 2009-04-05 00:32:09:

    1. icomment:
      Fixed in HEAD
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [326f3b8677] (rid 93609) by dkf on 2009-04-05 00:32:10:

    1. closedate changed to: "2009-04-04T17:32:10"
    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"