exar...@twistedmatrix.com wrote:
Which is unfortunate, because it's not that hard to get StopIteration without explicitly raising it yourself and this behavior makes it difficult to debug such situations.
It might not be hard if you set out to do it, but in my experience it's pretty rare to end up getting a StopIteration raised accidentally in an unexpected place. -- Greg -- http://mail.python.org/mailman/listinfo/python-list