[Python-Dev] Re: [Python-iterators] PEP 255 - BDFL Pronouncement: 'def' it stays
Thu, 21 Jun 2001 16:02:54 +0100
On Thu, 21 Jun 2001 10:32:40 -0400, Guido van Rossum
> Another idea might be to somehow continue the frame with an
>exception at this point -- but I don't have a clue what exception
>would be appropriate (StopIteration isn't because it goes in the other
Im sure any exception is appropriate there. What about restarting the
frame as if the 'yield' had been followed a 'return'?