Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c42007a10140e7eec3828b9974b6987d6761fe78
Ticket: 2980235fffffffffffffffffffffffffffffffff
command pollution in interps w/o package require
User & Date: dgp on 2010-03-31 20:50:30
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The pkgIndex.tcl file for the Thread and Ttrace
    packages creates the commands [::thread_load]
    and [::thread_source] inside every interp that
    happens to run [::tclPkgUnknown], whether or
    not that interp ever actually does a [package require]
    on Thread or Ttrace.  This is unwelcome pollution.
    Bad by any measure.  Doubly bad in the global namespace.
    
    This is very easy to fix with the use of the
    [::apply] command, so long as a dependence on
    Tcl 8.5 is permissible.
    
    If there is movement to better separate the two
    packages (see message on TCLCORE), then
    the index script may change enough as a result
    of that to make the issue go away.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "80. Thread Package"
  11. title changed to: "command pollution in interps w/o package require"
  12. type changed to: "Bug"