#10370 closed (fixed)
[patch] re-implement MultiValueDict.itervalues() to match values()
| Reported by: | Ryan Kelly | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | 1.0 |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
MultiValueDict modifies values() to yield only the last item from each list, but uses the default itervalues() implementation which yields the entire list. This leads to much confusion since d.values() != list(d.itervalues()).
Attachments (1)
Change History (5)
by , 17 years ago
| Attachment: | mvd_itervalues.diff added |
|---|
comment:2 by , 17 years ago
| Component: | Uncategorized → Core framework |
|---|
comment:3 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
re-implement MultiValueDict.itervalues()