(self, req, arg=None, res=None)
`execute` calls are non-blocking: just queue up the request and return immediately.
`execute` calls are non-blocking: just queue up the request and return immediately.
execute calls are non - blocking : just queue up the request and return immediately .
def execute(self, req, arg=None, res=None):
        """
        `execute` calls are non-blocking: just queue up the request and return immediately.
        """
        self._wait_for_initialization()
        self.check_raise_error()

        # NOTE: This might be a lot of information to pump into an input
        # queue, affecting performance.  I've also seen earlier versions of
        # jython take a severe performance impact for throwing exceptions
        # so often.
        stack = traceback.extract_stack()[:-1]
        self.reqs.put((req, arg or tuple(), res, stack))
def execute ( self , req , arg = None , res = None ) : self . _wait_for_initialization ( ) self . check_raise_error ( ) # NOTE: This might be a lot of information to pump into an input # queue, affecting performance.  I've also seen earlier versions of # jython take a severe performance impact for throwing exceptions # so often. stack = traceback . extract_stack ( ) [ : - 1 ] self . reqs . put ( ( req , arg or tuple ( ) , res , stack ) )