more-itertools supports Python 2.6 at the moment, so we won't be able to use this 2.7 routine.