[Python-iterators] PEP 255 - BDFL Pronouncement: 'def' it stays
Toby Dickenson
tdickenson at devmail.geminidataloggers.co.uk
Thu Jun 21 11:02:54 EDT 2001
On Thu, 21 Jun 2001 10:32:40 -0400, Guido van Rossum
<guido at 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)
Im sure any exception is appropriate there. What about restarting the
frame as if the 'yield' had been followed a 'return'?
Toby Dickenson
tdickenson at geminidataloggers.com
More information about the Python-list
mailing list