[Python-Dev] Re: [Python-iterators] PEP 255 - BDFL Pronouncement: 'def' it stays

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 21 Jun 2001 16:02:54 +0100


On Thu, 21 Jun 2001 10:32:40 -0400, Guido van Rossum
<guido@digicool.com> wrote:

>  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
>direction)=20

Im sure any exception is appropriate there. What about restarting the
frame as if the 'yield' had been followed a 'return'?




Toby Dickenson
tdickenson@geminidataloggers.com