#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
----------------------------------+--------------------------------------
Description changed by tuky:

Old description:

> The fix of https://code.djangoproject.com/ticket/24621 led to always
> providing a default to session's dict method pop. This prevents a
> KeyError to ever be thrown, which should be expected by a pop-function.
>
> Pull request is underway.

New description:

 The fix of https://code.djangoproject.com/ticket/24621 led to always
 providing a default to session's dict method pop. This prevents a KeyError
 to ever be thrown, which should be expected by a pop-function.

 Pull request is https://github.com/django/django/pull/6480

--

--
Ticket URL: <https://code.djangoproject.com/ticket/26520#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 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.7f13f99fd21aa19e85660cd984aef0ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to