[Python-Dev] Re: [Stackless] comments on PEP 219

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 16 Mar 2001 11:45:50 +1300 (NZDT)


> But most probably, it will run interpreters from time to time.
> These can be told to take the scheduling role on.

You'll have to expand on that. My understanding is that
all the uthreads would have to run in a single C-level
interpreter invocation which can never be allowed to
return. I don't see how different interpreters can be
made to "take on" this role. If that were possible,
there wouldn't be any problem in the first place.

> It does not matter on which interpreter level we are,
> we just can't switch to frames of other levels. But
> even leaving a frame chain, and re-entering later
> with a different stack level is no problem.

You'll have to expand on that, too. Those two sentences
sound contradictory to me.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+