Introduce new batching iterator and use it in two places
This is apropos #760 (closed).
If this finds favour I will see about getting rid of PauseAt
. It ought to be replaced by either this new batching iterator stuff, or .peeking_take_while
from itertools.
Edited by Ian Jackson