Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c231e97d599b308b675d3726bdda987bbdac3cb8
Ticket: 1436096fffffffffffffffffffffffffffffffff
unqualified cmd names in ensemble dicts
User & Date: dgp on 2006-02-21 18:39:39
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Not completely confident about
    this one...
    
    It appears that for ensemble
    subcommand dispatch to work
    correctly, the command name
    needs to be fully qualified.
    Implementation of the
    [namespace ensemble] command
    appears to go to significant
    effort to store only fully
    qualified commands.  (patchedDict
    and all that).
    
    However, the public routine
    Tcl_SetEnsembleMappingDict()
    permits registration of a
    dictionary with unqulified cmds
    in it.  I think this will break
    subcommand resolution, due to
    the used of TCL_EVAL_INVOKE.
    
    Feel free to close this invalid
    if I'm just missing something.
    
    (Is the *real* fix here to factor
    TCL_EVAL_INVOKE into useful
    subfunctions?  Separate flags for
    suppressing ::errorInfo appends
    and for command resolution in the
    global namespace?)
    
    
    
    
  4. foundin changed to: "obsolete: 8.5a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "21. [namespace]"
  10. title changed to: "unqualified cmd names in ensemble dicts"
  11. type changed to: "Bug"