#26520: Undo #24621 to make session.pop raise a KeyError again
----------------------------------+--------------------------------------
Reporter: tuky | Owner: nobody
Type: Bug | Status: new
Component: contrib.sessions | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by MarkusH):
While I agree that `.pop()` should raise a `KeyError` on a missing key I
don't think reverting that particular commit is the solution. We should
rather fix the underlying bug than what covers it up.
--
Ticket URL: <https://code.djangoproject.com/ticket/26520#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.37c3c4916cbfcfb58b1c4f19256f0123%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.