Python share CPU time?

neokosmos at gmail.com neokosmos at gmail.com
Thu Aug 10 23:17:12 EDT 2006


linnorm at gmail.com wrote:

> You should take a look at stackless Python.  It should do very nicely
> for what you want.  There  is a good tutorial on it here:
> http://members.verizon.net/olsongt/stackless/why_stackless.html

Not being intimately familiar with Stackless myself, I wonder, how
would it deal with a script that executed the line:

x = 10 ** 10 ** 10

My guess is that would cause a Stackless interpreter to block for a
long, long time, until it ran out of memory, but I'd like someone who
*knows* and doesn't have to guess to comment. :-)




More information about the Python-list mailing list