[Python-ideas] Batching/grouping function for itertools

Stephen J. Turnbull stephen at xemacs.org
Sun Dec 8 16:34:28 CET 2013


Chris Angelico writes:

 > How are you going to take the next n items from dice_roller without
 > advancing it?

Memoize.


More information about the Python-ideas mailing list