def run(self):
    while True:
      request, client_address = self.pending.get()
      self.active = True


      try:
        HandleRequestDirectly(request, client_address)
      except Exception, e:
        logging.info('Exception in HandleRequestThread', exc_info=1)
      finally:
        self.active = False
Takes requests from the queue and handles them.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver_multiprocess.py/HandleRequestThread.run