[Python-ideas] Coroutines and PEP 380
Paul Moore
p.f.moore at gmail.com
Thu Jan 26 09:02:21 CET 2012
On 26 January 2012 02:08, Matt Joiner <anacrolix at gmail.com> wrote:
> Implicit coroutines can arbitrary switch without changes in syntax,
> calling convention, or traversing back up the stack.
[...]
> * Are not preempted,
That's what confuses me. If an implicit coroutine can arbitrarily
switch without changes in syntax, etc, how is it not pre-empted? How
does the switch happen, if not by pre-emption or by some explicit
request/syntax?
An example of what you mean would probably help.
Paul
More information about the Python-ideas
mailing list