Opened 17 years ago

Closed 17 years ago

#4337 closed (fixed)

QueryDict's pop method should accept a default value

Reported by: Gary Wilson <gary.wilson@…> Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description


Attachments (2)

4337.diff (892 bytes ) - added by Gary Wilson <gary.wilson@…> 17 years ago.
4337.2.diff (883 bytes ) - added by Gary Wilson <gary.wilson@…> 17 years ago.
or to be more like the standard library

Download all attachments as: .zip

Change History (5)

by Gary Wilson <gary.wilson@…>, 17 years ago

Attachment: 4337.diff added

by Gary Wilson <gary.wilson@…>, 17 years ago

Attachment: 4337.2.diff added

or to be more like the standard library

comment:1 by Gary Wilson <gary.wilson@…>, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

I've never completely understood the reasons for pop() taking *args in UserDict in the standard library, but I agree that keeping it the same is consistent.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [5289]) Fixed #4337 -- Added pop() method to QueryDict. Thanks, Gary Wilson.

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