Opened 12 years ago
Closed 9 years ago
#9508 closed enhancement (wontfix)
implement dictionnary methods to retrieve keys based on provided value
Reported by: | remy damour | Owned by: | Tom Trenka |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Dojox | Version: | 1.3.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Current implementation of dojox.collections.Dictionnary (rev. 18735) allows to retrieve values based on keys, but I did not find any method to retrieve one or more keys of a provided value.
Since I did felt the need for it, I made a patch attached to this ticket.
If there is another way to retrieve dictionary key(s) by providing a dictionary value, I apologize for the waste of time.
Regards, Remy
Attachments (1)
Change History (6)
Changed 12 years ago by
Attachment: | Dictionary_key-retriever_rev18735#9508.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from Adam Peller to Tom Trenka |
---|
comment:2 Changed 12 years ago by
Milestone: | tbd → 1.5 |
---|
comment:3 Changed 11 years ago by
Milestone: | 1.5 → 1.6 |
---|
I actually didn't include these methods on purpose, believe it or not; finding keys based on a value is kind of deceptive, particularly if you have something like a bool for a value or even an object.
Going to punt this one for 1.5 and push it back to 1.6, and maybe ask the community at large if this is a useful thing.
comment:4 Changed 10 years ago by
Milestone: | 1.6 → future |
---|
(sadly) punting seemingly abandoned ticket and meta tickets to future
comment:5 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Going to close as won't fix for the aforementioned reasons.
patch against rev. 18735