Overview
| Artifact ID: | f9e99c889e69ef184648832f73c31893982ddd43 |
|---|---|
| Ticket: | 883865ffffffffffffffffffffffffffffffffff
Add ?-nocomplain? switch to [dict get] |
| User & Date: | cnassau on 2004-01-24 22:40:19 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Currently TIP 111 declares that dict get $dictVal $k1 $k2 ... $kn throws an error if $dictVal does not contain a value for the given key sequence. I would suggest to add a switch ?-nocomplain? where "dict get" would simply return an empty string in this case. There is a recent related discussion on the dict page of the Tcl'ers Wiki. There I tried to make the point that there are legitimate use cases where the distinction between a non-existing key and a key with an empty value is deliberately blurred.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "cnassau"
- subsystem changed to: "16. Commands A-H"
- title changed to: "Add ?-nocomplain? switch to [dict get]"
- type changed to: "RFE"