Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bc2f0ccd75ccff6a3d383c3aad22173eea07f1b0
Ticket: 2950259fffffffffffffffffffffffffffffffff
TclOO changes cause Itcl 4 test delete-3.4 fail
User & Date: dkf on 2010-02-15 18:58:58
Changes

  1. closedate changed to: "2010-02-15T11:58:58"
  2. closer changed to: "dkf"
  3. icomment:
    
    
    allow_comments - 1
    
    OK, the evil hack (that worked) was to make an ensemble in a private namespace that would be deleted early enough during namespace destruction, and to hang doing nice cleanup off that via a delete trace. Hacky, but worked.
    
    Based on that, I added another (internal) callback to namespace deletion instead. That's much cheaper and can't be pulled apart by scripts poking in where they shouldn't. But there's no way that I'll try to backport to 8.5. (The bug can be considered to lie between the namespace code, the TclOO code and the itcl code.)
    
    Also revised the TclOO tests so that running destructors properly when killing an object by deleting its namespace is an explicitly tested case.
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. subsystem changed to: "35. TclOO Package"
  9. username: "dkf"