Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 13360dbf69a0c2190ebe37a40395546f8b410f0931c1e83391f489724a30d8ae
Ticket: 8b9854c3d8ba8d64a7d3a9b20dfec552c8ee5f54
[info level 0] returns incompatible result in exported command since Tcl 8.6.9
User & Date: pooryorick on 2019-06-21 10:24:59
Changes

  1. closer changed to: "nobody"
  2. icomment:
    Even when not fully qualified, the first word of the command is sufficient to
    resolve the command from the namespace of the caller.  A command wishing to
    recursively call itself can use [uplevel] to ensure proper resolution.  Given
    this, what is the real need to store the qualified name of the command in
    <cod>framePtr->objv[0]</code>?
    
    Storing the fully qualified name of the command in
    <code>framePtr->objv[0]</code> does not scale well, as the memory footprint of
    each command becomes unacceptably high.
    
    Currently, there's no example of functionality that can only be accessed by
    having <code>[info level 0]</code> converting the first word to a
    fully-qualified name.
    
    I'm reopening this ticket to complete the discussion.
    
  3. login: "pooryorick"
  4. mimetype: "text/x-fossil-wiki"
  5. status changed to: "Open"