Overview
| Artifact ID: | 284c13b59a4b9e1a1927cfc1e4d36b89014ea66f |
|---|---|
| Ticket: | 1037235fffffffffffffffffffffffffffffffff
Inconsistency in 'dict set' |
| User & Date: | muehlebachs on 2004-10-02 02:27:52 |
Changes
- icomment:
Logged In: YES user_id=1130415 Thanks for your respons(es). The first workaround looks quite reasonable to me. Answers to your question: set foo {} dict set foo a A >>> creates a new mapping in 'foo': a->A dict unset foo bc b >>> error! since there is no key 'ab' in 'foo' dict set foo bc c C >>> creates a new mapping in 'foo': bc->c->C So the resulting dictionary should look like: a A bc {c C} - login: "muehlebachs"
- mimetype: "text/plain"
- username: "muehlebachs"