Possible File iteration bug

Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de
Fri Jul 15 10:21:01 EDT 2011


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



More information about the Python-list mailing list