Am 15.07.2011 14:26 schrieb Billy Mays:
I was thinking that a convenient solution to this problem would be to introduce a new Exception call PauseIteration, which would signal to the caller that there is no more data for now, but not to close down the generator entirely.
Alas, an exception thrown causes the generator to stop. Thomas -- http://mail.python.org/mailman/listinfo/python-list