Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b25a493b47bf5e58e1b72f88a4059b195983ae32e164eade7a673eaafc7fca3f
Ticket: 693851ffffffffffffffffffffffffffffffffff
Bug in safe::interpCreate
User & Date: kjnash on 2020-07-21 17:36:33
Changes

  1. assignee changed to: "aku"
  2. closer changed to: "nobody"
  3. comment changed to:
    I want to create a safe interpreter (bar) under the foo 
    namespace..  Here's the sample code and the error it 
    gives:
    
    % namespace eval foo {safe::interpCreate ::foo::bar}
    can't set "S::foo::bar(access_path,0)": parent 
    namespace doesn't exist
    
  4. icomment:
    Fixed in safe-bugfixes-8-6 commit [ba718daa57], but subject to some restrictions because of the need for compatibility with existing code, and the non-standard namespace handling of "interp" (see bug [66c2e8c974]).
    
    In the fixed version, the interpreter name "slave" may include namespace separators,
    but may not have leading or trailing namespace separators, or excess
    colon characters in namespace separators.  The interpreter name is
    qualified relative to the global namespace ::, not the namespace in which
    the ::safe::interpCreate or ::safe::interpInit command is evaluated.
    
  5. login: "kjnash"
  6. mimetype: "text/plain"
  7. severity changed to: "Minor"