The title should have been can't generate list from iterator.
--
View this message in context:
http://old.nabble.com/can%27t-generate-iterator-from-list-tp32435519p32435569.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http://mail.python.org/mailman/listinfo
Dr. Phillip M. Feldman wrote:
It is supposed to be possible to generate a list representation of any
iterator that produces a sequence of finite length, but this doesn't
always work. Here's a case where it does work:
Input:
from itertools import combinations