Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 340fbdc8849e2b05c0d94e581d71bee90798c8da
Ticket: 2883036fffffffffffffffffffffffffffffffff
upvar-7.1 leaves irremovable variable
User & Date: ferrieux on 2009-10-21 13:40:44
Changes

  1. icomment:
    Hum, I fear all this is documented. Fom upvar.n:
    "    If an upvar variable is unset [...], the unset operation affects the variable 
    "    it is linked to, not the upvar variable.  There is no way to unset an upvar 
    "    variable except by exiting the procedure in which it is defined.  
    
    Of course the "procedure in which it is defined" here is toplevel, so it looks like there simply isn't the necessary machinery to clean that leak up.
    Unsure whether there's a real motivation to do so, since toplevel code is hardly a constraint in production... Tempted to say something between "Invalid" and "Won't fix" :-}
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"