#NEWLINE# def next_response_request_deferred( self ) : #NEWLINE# #INDENT# ( response , request , deferred ) = self . queue . popleft ( ) #NEWLINE# self . active . add ( request ) #NEWLINE# return ( deferred , request , deferred )