Overview
| Artifact ID: | 7ed4fa37d0290cd23a29bb5e04070c091d4e3a71 |
|---|---|
| Ticket: | 1037242fffffffffffffffffffffffffffffffff
Inconsistency in 'dict set' |
| User & Date: | muehlebachs on 2004-09-29 19:47:49 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
The goal is to create a nested dictionary (foo) with the following mappings: a -> A bc -> b -> B bc -> c -> C One would expect to do it by: dict set foo a A dict set foo bc b B dict set foo bc c C But this leads to the error (key "bc" not known in dictionary). Instead it has to be done by: dict set foo a A dict set foo bc [dict create b B c C] After the mappings are created, the values can be changed by: dict set foo a AA dict set foo bc b BB dict set foo bc c CC The different treatment of mappings at the 'top level' and at a 'lower level' should either be removed/corrected or mentioned in the docu. - foundin changed to: "obsolete: 8.5a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "muehlebachs"
- subsystem changed to: "15. Dict Object"
- title changed to: "Inconsistency in 'dict set'"
- type changed to: "Bug"