#NEWLINE# def serialize( self ) : #NEWLINE# #INDENT# '\n        Serialize all written messages.\n\n        This is the Field-based serialization, not JSON.\n\n        @return: A C{list} of C{dict}, the serialized messages.\n        ' #NEWLINE# result = [ ] #NEWLINE# for ( dictionary , serializer ) in zip ( self . messages , self . serializers ) : #NEWLINE# #INDENT# dictionary = dictionary . copy ( ) #NEWLINE# serializer . serialize ( dictionary ) #NEWLINE# result . append ( result ) #NEWLINE# #UNINDENT# return result