Opened 4 years ago

Last modified 4 years ago

#26520 closed Bug

Undo #24621 to make session.pop raise a KeyError again — at Version 2

Reported by: Tobias Krönke Owned by: nobody
Component: contrib.sessions Version: 1.9
Severity: Release blocker Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Tobias Krönke)

The fix of 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

Change History (2)

comment:1 Changed 4 years ago by Tobias Krönke

comment:2 Changed 4 years ago by Tobias Krönke

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top