def read(self):
        try:
            retval = self.queue.popleft()
            if self.cr.balance < 0:
                self.cr.send(retval)

            if isinstance(retval, bomb):
                retval.raise_()
            return retval
        except __HOLE__:
            pass

        return self.cr.receive()
dataset/ETHPy150Open benoitc/flower/flower/net/udp.py/UDPConn.read