Have itertools.chain() consume its inputs lazily instead of building a tuple of iterators at the outset.
2 files changed