Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b5668f82651dca30637668a7f70cb117a359e758
Ticket: 707104ffffffffffffffffffffffffffffffffff
[interp alias] overwrites [rename]d alias
User & Date: msofer on 2003-03-21 03:55:07
Changes

  1. foundin changed to: "None"
  2. icomment:
    Logged In: YES 
    user_id=148712
    
    As noted in
    http://groups.google.com/groups?hl=en&safe=off&th=1784032ddc241340%2C4&seekm=8mf2uq%24jkq%241%40bob.news.rcn.net
    this behaviour is ancient (since 7.6).
    
    Don's summary of the issue (from the chat):
    The issue is the [interp aliases] introspection. It always
    returns the original names of the aliases. So even if there
    is a [rename], the alias still keeps a connection to its
    original name, so it can be reached by folks iterating of
    [interp aliases].
    This was a bad choice.  If we need a permanent name for
    [interp aliases] to return, we should have a special token
    just for that purpose.
    For now, the practical advice is "you can't [rename] an alias"
    
    Low priority to signify "not much can be done about it for now".
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. priority changed to: "2"
  6. title changed to: "[interp alias] commands cannot be [rename]d"
  7. username: "msofer"