def flush(self):
        """ flush self._file"""
        try:
            self._file.flush()
            try:
                os.fsync(self._file.fileno())
            except (AttributeError, __HOLE__,  OSError) as ex:
                pass
        except (AttributeError, ValueError) as  ex:
            pass
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/consoling.py/Console.flush