Alternatives to Stackless Python?

Christian Tismer tismer at
Thu Sep 29 03:05:44 CEST 2005

Peter Hansen wrote:

> simonwittber at wrote:
>>>I found LGT but it didn't seem as if the
>>>NanoThreads module had the same capabilites as stackless.
>>What specific capabilities of Stackless are you looking for, that are
>>missing from NanoThreads?
> While I can't speak for the OP, isn't it the case that the threadlets in 
> Stackless (sorry, don't know what they are really called) are true 
> threads in the sense of being able to switch contexts no matter how far 
> down in a set of nested calls they might be?  And that NanoThreads are 
> simply generators, which means you can switch contexts only at the top 
> level, with a yield statement?
> I don't know what the OP wants, but I could imagine that would be a 
> pretty fundamental difference (if I'm right about Stackless).

You are.

Christian Tismer             :^)   <mailto:tismer at>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship*
14109 Berlin                 :     PGP key ->
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?

More information about the Python-list mailing list