if error occurs while pickling session to a file (Session
can't be pickled), SessionFileStore leaves corrupt
session file. For all future attempts ro load this session
into memory we have KeyError, and new session is not
SessionFileStore.diff patch handles exception while
pickling session and does not leave corrupt session
files. So, new session can be created with same key.
DynamicFileStore.diff patch adds a check in MovetoFile,
(was the session stored properly?), so session can be
removed from the memory store only if it was saved to a
Patches are maked for checkout on 2002-10-29
Log in to post a comment.