#18315: QueryDict.pop is inconsistent
-------------------------------------+-------------------------------------
Reporter: gcbirzan | Owner: nobody
Type: Uncategorized | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 0 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by anonymous):
This confused me to no end before I found out that doing QueryDict['key']
would not return the same value as QueryDict.pop('key'). This hardly seems
like it conform with other uses of pop.
--
Ticket URL: <https://code.djangoproject.com/ticket/18315#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.