def _fetch(self, count):
        # Try to fill ``self.items`` with at least ``count`` objects.
        have = len(self.items)
        while self.iterator is not None and have < count:
            try:
                item = next(self.iterator)
            except StopIteration:
                self.iterator = None
                break
            except (__HOLE__, SystemExit):
                raise
            except Exception as exc:
                have += 1
                self._append(exc)
                self.iterator = None
                break
            else:
                have += 1
                self._append(item)
dataset/ETHPy150Open ipython/ipython-py3k/IPython/deathrow/igrid.py/IGridTable._fetch