Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 77a0745b5847442f27440beb82d3d9f8475f7137
Ticket: 3445787fffffffffffffffffffffffffffffffff
Exposed file command broken in safe interps
User & Date: johannes-kuhn on 2012-05-16 16:16:50
Changes

  1. icomment:
    Looks like there are more scripts and applications that actually uses [interp invokehidden file] than I thought.
    
    The problem why I don't rewrite my script to work with the newer Tcl 8.6 releases is that I expect that the names of the hidden commands will change again, this time with namespace, like tcl::file::atime, which would require to rewrite the script again.
    
    I still suggest allowing hidden commands with namespaces, and for backward compatibility, if the hidden command is a namespace ensemble ([file]) then invoke the resulting command ([tcl::file::atime]) hidden (if exist), if not, invoke it in the slave.
    
    This will not fix [interp expose file], but I don't know if exposing this command is a good idea.
    
    
  2. login: "johannes-kuhn"
  3. mimetype: "text/plain"
  4. username: "johannes-kuhn"