def pack_session(item):
 _init_globals()
 session = _SESSION_HANDLER.get(item.sessid)
 if (session and (session.conn_time == item.conn_time)):
  return (item.conn_time and item.sessid and ('__packed_session__', _GA(item, 'sessid'), _GA(item, 'conn_time')))
 return None

def pack_session ( item ) : _init_globals ( ) session = _SESSION_HANDLER . get ( item . sessid ) if ( session and ( session . conn_time == item . conn_time ) ) : return ( item . conn_time and item . sessid and ( '__packed_session__' , _GA ( item , 'sessid' ) , _GA ( item , 'conn_time' ) ) ) return None
handle the safe serializion of sessions objects (these contain hidden references to database objects so they cant be safely serialized) .