Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0057549be9ab9ba863e28353603e610da30bff3e66e23414e8d6af9ce45b124a
Ticket: 0d44b11885a76f14f17c8d690ee2216792955938
info cmdtype status for safe interps
User & Date: juliannoble2 on 2024-06-12 08:38:20
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    info cmdtype was added to the UnsafeEnsembleInfo array in tclBasic.c in 2018 - but the addition seems somewhat anomalous.
    
    I can use other info introspection commands regarding oo objects, and interp alias allows inspection of aliases anyway - even those that are targeting commands in the master interp.
    
    If the intention is that certain aliases shouldn't be visible - that doesn't seem to be happening anyway.  Can info cmdtype reasonably be removed from the UnsafeEnsembleInfo array?
    
    It's useful to be able to detect cmdtypes of native, interp etc from within a safe interp - and these can mostly be deduced or calculated in a safe interp anyway - just not efficiently.
    
  5. is_private changed to: "0"
  6. login: "juliannoble2"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "juliannoble2"
  13. subsystem changed to: "20. [interp]"
  14. title changed to: "info cmdtype status for safe interps"
  15. type changed to: "RFE"