Continuations and threads (was Re: Iterators & generators)
mbel44 at dial.pipex.net
Fri Feb 18 12:12:35 CET 2000
Paul Prescod <paul at prescod.net> wrote:
>You can also use continuations to implement back-tracking. You try one
>path and if it fails you "jump back" and try the other.
What are the implications for the continuation-naive in a
post-stackless world. What about functions such as...
Today, either of three things happen:
1. before() throws
2. before() and after() are called exactly once each
3. x() never returns because y() never returns
As I understand continuations, we now have the possibility of y()
returning more than once, with after() called more times than before()
more-basic-than-goto is not an exaggeration.
tdickenson at geminidataloggers.com
More information about the Python-list