def send(self, msg, is_json=False):
        if is_json:
            send_data = self._pack_json(msg)
        else:
            send_data = self._pack(msg)

        self.transport.write(send_data)

        try:
            self.transport.write_eof()
        except __HOLE__:
            logger.exception('Swallowing AttributeError due to asyncio bug!')
dataset/ETHPy150Open qtile/qtile/libqtile/ipc.py/_ClientProtocol.send