def peek_assoc(store, container, _stack=None):
assoc = []<EOL>try:<EOL><INDENT>if store.getRecordAttr('<STR_LIT:key>', container) == '<STR_LIT>':<EOL><INDENT>for i in container:<EOL><INDENT>assoc.append(store.peek(i, container, _stack=_stack))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for i in container:<EOL><INDENT>assoc.append((store.strRecord(i, container), store.peek(i, container, _stack=_stack)))<EOL><DEDENT><DEDENT><DEDENT>except TypeError as e:<EOL><INDENT>try:<EOL><INDENT>for i in container:<EOL><INDENT>pass<EOL><DEDENT>raise e<EOL><DEDENT>except TypeError:<EOL><INDENT>raise TypeError("<STR_LIT>".format(e.args[<NUM_LIT:0>]))<EOL><DEDENT><DEDENT>return assoc<EOL>
Deserialize association lists.