Open assuming an “ini-file” format and return a generator yielding data
        records using either :func:`pwkit.inifile.read_stream` (if *typed* is
        false) or :func:`pwkit.tinifile.read_stream` (if it’s true). The
        latter version is designed to work with numerical data using the
        :mod:`pwkit.msmt` subsystem. If *noexistok* is true, a nonexistent
        file will result in no items being generated rather than an
        :exc:`IOError` being raised.

def read_inifile (self, noexistok=False, typed=False):
        """Open assuming an “ini-file” format and return a generator yielding data
        records using either :func:`pwkit.inifile.read_stream` (if *typed* is
        false) or :func:`pwkit.tinifile.read_stream` (if it’s true). The
        latter version is designed to work with numerical data using the
        :mod:`pwkit.msmt` subsystem. If *noexistok* is true, a nonexistent
        file will result in no items being generated rather than an
        :exc:`IOError` being raised.

        """
        if typed:
            from .tinifile import read_stream
        else:
            from .inifile import read_stream

        try:
            with self.open ('rb') as f:
                for item in read_stream (f):
                    yield item
        except IOError as e:
            if e.errno != 2 or not noexistok:
                raise