"larry.mart...@gmail.com" <larry.mart...@gmail.com> writes:
> It seems that if you do a list(group) you have consumed the list. This > screwed me up for a while, and seems very counter-intuitive. You've consumed the *group* which is an iterator, in order to construct a list from its elements. Sorry if this is excessively nit-picking, but it generally helps to keep these things very clear in your own mind. -- http://mail.python.org/mailman/listinfo/python-list