Albert van der Horst wrote:
An important feature that is not documented is a severe defect.
This isn't something that I would expect to find documented under the heading of generator expressions, because it doesn't have anything to do with them. It's an interaction between the iterator protocol and the list() constructor. Any other iterable that leaked a StopIteration exception would cause the same effect. -- Greg -- http://mail.python.org/mailman/listinfo/python-list