Guido van Rossum wrote: > If you find the 'empty' flag pattern too ugly, you can always write a > helper class that takes an iterator and returns an object that > represents the same iterator, but sometimes buffers one element.
Perhaps one of these could be included as an itertool? Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com