Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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)

mvd_itervalues.diff (1.2 KB ) - added by Ryan Kelly 15 years ago.
re-implement MultiValueDict.itervalues()

Download all attachments as: .zip

Change History (5)

by Ryan Kelly, 15 years ago

Attachment: mvd_itervalues.diff added

re-implement MultiValueDict.itervalues()

comment:1 by Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

See also #8447.

comment:2 by Russell Keith-Magee, 15 years ago

Component: UncategorizedCore framework

comment:3 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

(In [10241]) Fixed #8847, #10370: added some missing methods to MultiValueDict after [8399]. Thanks, James Turk and rfk.

comment:4 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top