def iblock(iterable, bsize, strict=False):
    """Return a list of n items from an iterable.

    Deprecated predecessor of strict_grouper."""
    it = iter(iterable)
    i = [it] * (bsize - 1)
    while True:
        try:
            result = [next(it)]
        except StopIteration:
            break
        for e in i:
            try:
                result.append(next(e))
            except StopIteration:
                if strict:
                    raise ValueError(
                        'only %d value(s) left in iterator, expected %d' %
                        (len(result), bsize))
                else:
                    pass
        yield result
