def serve(self):
        self.trans.listen()
        while not self.closed:
            try:
                client = self.trans.accept()
                t = threading.Thread(target=self.handle, args=(client,))
                t.setDaemon(self.daemon)
                t.start()
            except __HOLE__:
                raise
            except Exception as x:
                logger.exception(x)
dataset/ETHPy150Open eleme/thriftpy/thriftpy/server.py/TThreadedServer.serve