def chunk_iter(iterable, n):
    assert n > 0
    iterable = iter(iterable)

    chunk = tuple(itertools.islice(iterable, n))
    while chunk:
        yield chunk
        chunk = tuple(itertools.islice(iterable, n))
Print a status message to stderr.
dataset/ETHPy150Open Yelp/git-code-debt/git_code_debt/util/iter.py/chunk_iter--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/StatusUpdate