Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0e28ef6cc3161bf47e542cfbf49795e93968672c
Ticket: 883848ffffffffffffffffffffffffffffffffff
clarify/change [dict set] specification
User & Date: cnassau on 2004-01-24 22:08:08
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
    
    I would like to suggest that the specification of "dict
    set" should be clearer with regard to missing
    sub-dictionaries: the question is what 
    
       dict set dictVar $k1 $k2 ... $kn $value  
    
    should do if the sub-dictionary for the key sequence
    $k1, ..., $k{n-1} does not yet exist in $dictVar. I
    suggest that such sub-dictionaries are silently created
    as needed.
    
    (A recent related discussion can be found on the
    Tcl'ers Wiki page for the dict command.)    
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "cnassau"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "clarify/change [dict set] specification "
  11. type changed to: "RFE"