Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f9ebca42c2a84a1ff720bca30120c53759e5b753
Ticket: 2960227fffffffffffffffffffffffffffffffff
problem with my command
User & Date: dkf on 2010-02-28 13:40:12
Changes

  1. icomment:
    I don't understand the nature of this bug. The [my] command just uses the object's private namespace because all method invocations do that. That's what standard methods are defined to do. (A different method type could do something else; the choice of which namespace to make current is part of the method implementation and not the core method system, as can be seen from the way that forwarded methods are handled.) Because it is vital that we hang some bits and pieces of state off the namespace - it's a fundamental design decision which permeates everything - we *have* to create a namespace during object creation; using an existing namespace isn't going to work.
    
    Right now, I suspect that a custom method type might be all that you're looking for.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"