<s> """<STR_LIT>""" <EOL> from werkzeug . contrib . securecookie import SecureCookie <EOL> class Session ( SecureCookie ) : <EOL> """<STR_LIT>""" <EOL> def _get_permanent ( self ) : <EOL> return self . get ( '<STR_LIT>' , False ) <EOL> def _set_permanent ( self , value ) : <EOL> self [ '<STR_LIT>' ] = bool ( value ) <EOL> permanent = property ( _get_permanent , _set_permanent ) <EOL> del _get_permanent , _set_permanent <EOL> class _NullSession ( Session ) : <EOL> """<STR_LIT>""" <EOL> def _fail ( self , * args , ** kwargs ) : <EOL> raise RuntimeError ( '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> __setitem__ = __delitem__ = clear = pop = popitem = update = setdefault = _fail <EOL> del _fail </s>
