[Python-Dev] uthread strawman

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Thu, 9 Nov 2000 16:07:14 +0200 (IST)

On Thu, 9 Nov 2000, Christian Tismer wrote:

> Does anybody know of a useful example where continuations
> are really needed?

Well, it may be a bit unpythonic (for several reasons), but restartable
exceptions AFAICS cannot be implemented by generators or coroutines.
Restartable exceptions are not always appropriate, but tend to be
a pain to simulate when they are needed.

Moshe Zadka <moshez@math.huji.ac.il> -- 95855124