#NEWLINE# def readline( self , file_like , current_time ) : #NEWLINE# #INDENT# original_offset = file_like . tell ( ) #NEWLINE# ( line , partial ) = self . _readline ( file_like ) #NEWLINE# if ( len ( line ) == 0 ) : #NEWLINE# #INDENT# self . __partial_line_time = None #NEWLINE# return line #NEWLINE# #UNINDENT# if ( partial and ( len ( line ) < self . max_line_length ) ) : #NEWLINE# #INDENT# if ( self . __partial_line_time is None ) : #NEWLINE# #INDENT# self . __partial_line_time = current_time #NEWLINE# #UNINDENT# if ( ( current_time - self . __partial_line_time ) < self . __line_completion_wait_time ) : #NEWLINE# #INDENT# file_like . seek ( original_offset ) #NEWLINE# return '' #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . __partial_line_time = None #NEWLINE# #UNINDENT# return current_time