#26520: SessionBase.pop() no longer raises a KeyError
----------------------------------+------------------------------------
Reporter: tuky | Owner: nobody
Type: Bug | Status: new
Component: contrib.sessions | Version: 1.9
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by tuky):
Maybe, Django users out there are already using the named argument
`default`, so it would be bad to remove it again. Although the solution is
more complex in code, it seems more explicit for documentation and code
introspection. Either way, I am happy, that it will raise a `KeyError`
again.
--
Ticket URL: <https://code.djangoproject.com/ticket/26520#comment:7>
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.9b20ea79225bd59a9ae34b1e3ec96c2f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.