Overview
| Artifact ID: | aac842df2f7102d91ea8451391ad98ea16daa281 |
|---|---|
| Ticket: | 3598385fffffffffffffffffffffffffffffffff
[dict exists] doesn't produce an error for non-dict values |
| User & Date: | ferrieux on 2013-01-01 01:51:36 |
Changes
- icomment:
To add to pooryorick's arguments, a natural source of odd-length lists is the typo [dict get d $k] (should be "$d"). This typo is likely to occur because the dict API mixes both styles (for good reasons). But the net result of the Jan-2012 commit is that this case will NO LONGER raise an error. Instead, it will just silently behave as though the dict had been emptied (ie return 0 for all keys). For this frequent case at least, it looks to me like an obvious regression.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"